Share via


StylesheetExtension Constructors

Definition

Overloads

StylesheetExtension()

Initializes a new instance of the StylesheetExtension class.

StylesheetExtension(OpenXmlElement[])

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

StylesheetExtension(IEnumerable<OpenXmlElement>)

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

StylesheetExtension(String)

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

StylesheetExtension()

Initializes a new instance of the StylesheetExtension class.

public StylesheetExtension ();
Public Sub New ()

Applies to

StylesheetExtension(OpenXmlElement[])

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

public StylesheetExtension (params DocumentFormat.OpenXml.OpenXmlElement[] childElements);
new DocumentFormat.OpenXml.Spreadsheet.StylesheetExtension : DocumentFormat.OpenXml.OpenXmlElement[] -> DocumentFormat.OpenXml.Spreadsheet.StylesheetExtension
Public Sub New (ParamArray childElements As OpenXmlElement())

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

StylesheetExtension(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

StylesheetExtension(String)

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

public StylesheetExtension (string outerXml);
new DocumentFormat.OpenXml.Spreadsheet.StylesheetExtension : string -> DocumentFormat.OpenXml.Spreadsheet.StylesheetExtension
Public Sub New (outerXml As String)

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to