Stylesheet 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
Stylesheet() |
Initializes a new instance of the Stylesheet class. |
Stylesheet(OpenXmlElement[]) |
Initializes a new instance of the Stylesheet class with the specified child elements. |
Stylesheet(IEnumerable<OpenXmlElement>) |
Initializes a new instance of the Stylesheet class with the specified child elements. |
Stylesheet(String) |
Initializes a new instance of the Stylesheet class from outer XML. |
Stylesheet()
Initializes a new instance of the Stylesheet class.
public Stylesheet ();
Public Sub New ()
Applies to
Stylesheet(OpenXmlElement[])
Initializes a new instance of the Stylesheet class with the specified child elements.
public Stylesheet (params DocumentFormat.OpenXml.OpenXmlElement[] childElements);
new DocumentFormat.OpenXml.Spreadsheet.Stylesheet : DocumentFormat.OpenXml.OpenXmlElement[] -> DocumentFormat.OpenXml.Spreadsheet.Stylesheet
Public Sub New (ParamArray childElements As OpenXmlElement())
Parameters
- childElements
- OpenXmlElement[]
Specifies the child elements.
Applies to
Stylesheet(IEnumerable<OpenXmlElement>)
Initializes a new instance of the Stylesheet class with the specified child elements.
public Stylesheet (System.Collections.Generic.IEnumerable<DocumentFormat.OpenXml.OpenXmlElement> childElements);
new DocumentFormat.OpenXml.Spreadsheet.Stylesheet : seq<DocumentFormat.OpenXml.OpenXmlElement> -> DocumentFormat.OpenXml.Spreadsheet.Stylesheet
Public Sub New (childElements As IEnumerable(Of OpenXmlElement))
Parameters
- childElements
- IEnumerable<OpenXmlElement>
Specifies the child elements.
Applies to
Stylesheet(String)
Initializes a new instance of the Stylesheet class from outer XML.
public Stylesheet (string outerXml);
new DocumentFormat.OpenXml.Spreadsheet.Stylesheet : string -> DocumentFormat.OpenXml.Spreadsheet.Stylesheet
Public Sub New (outerXml As String)
Parameters
- outerXml
- String
Specifies the outer XML of the element.