共用方式為


DataField Constructors

Definition

Overloads

DataField()

Initializes a new instance of the DataField class.

DataField(OpenXmlElement[])

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

DataField(IEnumerable<OpenXmlElement>)

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

DataField(String)

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

DataField()

Initializes a new instance of the DataField class.

public DataField ();
Public Sub New ()

Applies to

DataField(OpenXmlElement[])

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

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

DataField(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

DataField(String)

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

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

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to