Share via


Value Constructors

Definition

Overloads

Value()

Initializes a new instance of the Value class.

Value(OpenXmlElement[])

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

Value(IEnumerable<OpenXmlElement>)

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

Value(String)

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

Value()

Initializes a new instance of the Value class.

public Value ();
Public Sub New ()

Applies to

Value(OpenXmlElement[])

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

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

Value(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

Value(String)

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

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

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to