Share via


ToVariantValue Constructors

Definition

Overloads

ToVariantValue()

Initializes a new instance of the ToVariantValue class.

ToVariantValue(OpenXmlElement[])

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

ToVariantValue(IEnumerable<OpenXmlElement>)

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

ToVariantValue(String)

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

ToVariantValue()

Initializes a new instance of the ToVariantValue class.

public ToVariantValue ();
Public Sub New ()

Applies to

ToVariantValue(OpenXmlElement[])

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

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

ToVariantValue(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

ToVariantValue(String)

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

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

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to