Share via


SortRules Constructors

Definition

Overloads

SortRules()

Initializes a new instance of the SortRules class.

SortRules(OpenXmlElement[])

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

SortRules(IEnumerable<OpenXmlElement>)

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

SortRules(String)

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

SortRules()

Initializes a new instance of the SortRules class.

public SortRules ();
Public Sub New ()

Applies to

SortRules(OpenXmlElement[])

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

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

SortRules(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

SortRules(String)

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

public SortRules (string outerXml);
new DocumentFormat.OpenXml.Office2021.Excel.NamedSheetViews.SortRules : string -> DocumentFormat.OpenXml.Office2021.Excel.NamedSheetViews.SortRules
Public Sub New (outerXml As String)

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to