Share via


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

'宣言
<ChildElementInfoAttribute(GetType(ProtectedRange))> _
Public Class ProtectedRanges _
    Inherits OpenXmlCompositeElement
'使用
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 初版]

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. 上記の引用はマイクロソフト (またはその代理) によって英語から日本語に翻訳されたものであり、ISO はこうした翻訳に対する責任を一切負いません。

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.

See Also

Reference

ProtectedRanges Members

DocumentFormat.OpenXml.Spreadsheet Namespace