SortRules Constructors 
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.SortRulesPublic 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.SortRulesPublic 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.SortRulesPublic Sub New (outerXml As String)Parameters
- outerXml
- String
Specifies the outer XML of the element.