ProtectedRanges class
Office 2013 and later
Defines the ProtectedRanges Class. When the object is serialized out as xml, its qualified name is x:protectedRanges.
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Spreadsheet.ProtectedRanges
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Spreadsheet.ProtectedRanges
Namespace: DocumentFormat.OpenXml.Spreadsheet
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
[ISO/IEC 29500-1 1st Edition]
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.
Show: