다음을 통해 공유


ProtectedRanges Constructors

Definition

Overloads

ProtectedRanges()

Initializes a new instance of the ProtectedRanges class.

ProtectedRanges(OpenXmlElement[])

Initializes a new instance of the ProtectedRanges class with the specified child elements.

ProtectedRanges(IEnumerable<OpenXmlElement>)

Initializes a new instance of the ProtectedRanges class with the specified child elements.

ProtectedRanges(String)

Initializes a new instance of the ProtectedRanges class from outer XML.

ProtectedRanges()

Initializes a new instance of the ProtectedRanges class.

public ProtectedRanges ();
Public Sub New ()

Applies to

ProtectedRanges(OpenXmlElement[])

Initializes a new instance of the ProtectedRanges class with the specified child elements.

public ProtectedRanges (params DocumentFormat.OpenXml.OpenXmlElement[] childElements);
new DocumentFormat.OpenXml.Office2010.Excel.ProtectedRanges : DocumentFormat.OpenXml.OpenXmlElement[] -> DocumentFormat.OpenXml.Office2010.Excel.ProtectedRanges
Public Sub New (ParamArray childElements As OpenXmlElement())

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

ProtectedRanges(IEnumerable<OpenXmlElement>)

Initializes a new instance of the ProtectedRanges class with the specified child elements.

public ProtectedRanges (System.Collections.Generic.IEnumerable<DocumentFormat.OpenXml.OpenXmlElement> childElements);
new DocumentFormat.OpenXml.Office2010.Excel.ProtectedRanges : seq<DocumentFormat.OpenXml.OpenXmlElement> -> DocumentFormat.OpenXml.Office2010.Excel.ProtectedRanges
Public Sub New (childElements As IEnumerable(Of OpenXmlElement))

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

ProtectedRanges(String)

Initializes a new instance of the ProtectedRanges class from outer XML.

public ProtectedRanges (string outerXml);
new DocumentFormat.OpenXml.Office2010.Excel.ProtectedRanges : string -> DocumentFormat.OpenXml.Office2010.Excel.ProtectedRanges
Public Sub New (outerXml As String)

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to