共用方式為


Formats Constructors

Definition

Overloads

Formats()

Initializes a new instance of the Formats class.

Formats(OpenXmlElement[])

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

Formats(IEnumerable<OpenXmlElement>)

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

Formats(String)

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

Formats()

Initializes a new instance of the Formats class.

public Formats ();
Public Sub New ()

Applies to

Formats(OpenXmlElement[])

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

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

Formats(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

Formats(String)

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

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

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to