Share via


SimpleField Constructors

Definition

Overloads

SimpleField()

Initializes a new instance of the SimpleField class.

SimpleField(OpenXmlElement[])

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

SimpleField(IEnumerable<OpenXmlElement>)

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

SimpleField(String)

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

SimpleField()

Initializes a new instance of the SimpleField class.

public SimpleField ();
Public Sub New ()

Applies to

SimpleField(OpenXmlElement[])

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

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

SimpleField(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

SimpleField(String)

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

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

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to