다음을 통해 공유


Macrosheet Constructors

Definition

Overloads

Macrosheet()

Initializes a new instance of the Macrosheet class.

Macrosheet(OpenXmlElement[])

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

Macrosheet(IEnumerable<OpenXmlElement>)

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

Macrosheet(String)

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

Macrosheet()

Initializes a new instance of the Macrosheet class.

public Macrosheet ();
Public Sub New ()

Applies to

Macrosheet(OpenXmlElement[])

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

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

Macrosheet(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

Macrosheet(String)

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

public Macrosheet (string outerXml);
new DocumentFormat.OpenXml.Office.Excel.Macrosheet : string -> DocumentFormat.OpenXml.Office.Excel.Macrosheet
Public Sub New (outerXml As String)

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to