다음을 통해 공유


Metadata Constructors

Definition

Overloads

Metadata()

Initializes a new instance of the Metadata class.

Metadata(OpenXmlElement[])

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

Metadata(IEnumerable<OpenXmlElement>)

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

Metadata(String)

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

Metadata()

Initializes a new instance of the Metadata class.

public Metadata ();
Public Sub New ()

Applies to

Metadata(OpenXmlElement[])

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

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

Metadata(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

Metadata(String)

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

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

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to