Share via


Phantom Constructors

Definition

Overloads

Phantom()

Initializes a new instance of the Phantom class.

Phantom(OpenXmlElement[])

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

Phantom(IEnumerable<OpenXmlElement>)

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

Phantom(String)

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

Phantom()

Initializes a new instance of the Phantom class.

public Phantom ();
Public Sub New ()

Applies to

Phantom(OpenXmlElement[])

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

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

Phantom(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

Phantom(String)

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

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

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to