Udostępnij za pośrednictwem


ProtectedRange Constructors

Definition

Overloads

ProtectedRange()

Initializes a new instance of the ProtectedRange class.

ProtectedRange(OpenXmlElement[])

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

ProtectedRange(IEnumerable<OpenXmlElement>)

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

ProtectedRange(String)

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

ProtectedRange()

Initializes a new instance of the ProtectedRange class.

public ProtectedRange ();
Public Sub New ()

Applies to

ProtectedRange(OpenXmlElement[])

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

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

ProtectedRange(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

ProtectedRange(String)

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

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

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to