DataField Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.