Share via


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.Spreadsheet.ProtectedRanges : DocumentFormat.OpenXml.OpenXmlElement[] -> DocumentFormat.OpenXml.Spreadsheet.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.Spreadsheet.ProtectedRanges : seq<DocumentFormat.OpenXml.OpenXmlElement> -> DocumentFormat.OpenXml.Spreadsheet.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.Spreadsheet.ProtectedRanges : string -> DocumentFormat.OpenXml.Spreadsheet.ProtectedRanges
Public Sub New (outerXml As String)

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to