ProtectedRanges Class
Protected Ranges.When the object is serialized out as xml, its qualified name is x:protectedRanges.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Spreadsheet.ProtectedRanges
Namespace: DocumentFormat.OpenXml.Spreadsheet
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
<ChildElementInfoAttribute(GetType(ProtectedRange))> _
Public Class ProtectedRanges _
Inherits OpenXmlCompositeElement
'Usage
Dim instance As ProtectedRanges
[ChildElementInfoAttribute(typeof(ProtectedRange))]
public class ProtectedRanges : OpenXmlCompositeElement
Remarks
The following table lists the possible child types:
- ProtectedRange <x:protectedRange>
[ISO/IEC 29500-1 1st Edition]
18.3.1.72 protectedRanges (Protected Ranges)
This collection specifies all protected ranges on this worksheet.
[Example:
This example demonstrates that A1:C5 have been protected, with no password specified.
<protectedRanges> <protectedRange sqref="A1:C5" name="Range1"/> </protectedRanges>
end example]
Parent Elements |
---|
worksheet (§18.3.1.99) |
Child Elements |
Subclause |
---|---|
protectedRange (Protected Range) |
§18.3.1.71 |
[Note: The W3C XML Schema definition of this element’s content model (CT_ProtectedRanges) is located in §A.2. end note]
© ISO/IEC29500: 2008.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.