다음을 통해 공유


Stylesheet Constructors

Definition

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.

Applies to