共用方式為


Sheets Constructors

Definition

Overloads

Sheets()

Initializes a new instance of the Sheets class.

Sheets(OpenXmlElement[])

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

Sheets(IEnumerable<OpenXmlElement>)

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

Sheets(String)

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

Sheets()

Initializes a new instance of the Sheets class.

public Sheets ();
Public Sub New ()

Applies to

Sheets(OpenXmlElement[])

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

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

Sheets(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

Sheets(String)

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

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

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to