Field 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
Field() |
Initializes a new instance of the Field class. |
Field(OpenXmlElement[]) |
Initializes a new instance of the Field class with the specified child elements. |
Field(IEnumerable<OpenXmlElement>) |
Initializes a new instance of the Field class with the specified child elements. |
Field(String) |
Initializes a new instance of the Field class from outer XML. |
Field()
Initializes a new instance of the Field class.
public Field ();
Public Sub New ()
Applies to
Field(OpenXmlElement[])
Initializes a new instance of the Field class with the specified child elements.
public Field (params DocumentFormat.OpenXml.OpenXmlElement[] childElements);
new DocumentFormat.OpenXml.Drawing.Field : DocumentFormat.OpenXml.OpenXmlElement[] -> DocumentFormat.OpenXml.Drawing.Field
Public Sub New (ParamArray childElements As OpenXmlElement())
Parameters
- childElements
- OpenXmlElement[]
Specifies the child elements.
Applies to
Field(IEnumerable<OpenXmlElement>)
Initializes a new instance of the Field class with the specified child elements.
public Field (System.Collections.Generic.IEnumerable<DocumentFormat.OpenXml.OpenXmlElement> childElements);
new DocumentFormat.OpenXml.Drawing.Field : seq<DocumentFormat.OpenXml.OpenXmlElement> -> DocumentFormat.OpenXml.Drawing.Field
Public Sub New (childElements As IEnumerable(Of OpenXmlElement))
Parameters
- childElements
- IEnumerable<OpenXmlElement>
Specifies the child elements.
Applies to
Field(String)
Initializes a new instance of the Field class from outer XML.
public Field (string outerXml);
new DocumentFormat.OpenXml.Drawing.Field : string -> DocumentFormat.OpenXml.Drawing.Field
Public Sub New (outerXml As String)
Parameters
- outerXml
- String
Specifies the outer XML of the element.