Share via


ListValue<T> Constructors

Definition

Overloads

ListValue<T>()

Initializes a new instance of the ListValue<T> class.

ListValue<T>(IEnumerable<T>)

Initializes a new instance of the ListValue<T> class using the supplied list of values.

ListValue<T>(ListValue<T>)

Initializes a new instance of the ListValue<T> class by deep copying the supplied ListValue<T> class.

ListValue<T>()

Initializes a new instance of the ListValue<T> class.

public ListValue ();
Public Sub New ()

Applies to

ListValue<T>(IEnumerable<T>)

Initializes a new instance of the ListValue<T> class using the supplied list of values.

public ListValue (System.Collections.Generic.IEnumerable<T> list);
new DocumentFormat.OpenXml.ListValue<'T (requires 'T :> DocumentFormat.OpenXml.OpenXmlSimpleType and 'T : (new : unit -> 'T))> : seq<'T (requires 'T :> DocumentFormat.OpenXml.OpenXmlSimpleType and 'T : (new : unit -> 'T))> -> DocumentFormat.OpenXml.ListValue<'T (requires 'T :> DocumentFormat.OpenXml.OpenXmlSimpleType and 'T : (new : unit -> 'T))>
Public Sub New (list As IEnumerable(Of T))

Parameters

list
IEnumerable<T>

The list of the values.

Applies to

ListValue<T>(ListValue<T>)

Initializes a new instance of the ListValue<T> class by deep copying the supplied ListValue<T> class.

public ListValue (DocumentFormat.OpenXml.ListValue<T> list);
public ListValue (DocumentFormat.OpenXml.ListValue<T> source);
new DocumentFormat.OpenXml.ListValue<'T (requires 'T :> DocumentFormat.OpenXml.OpenXmlSimpleType and 'T : (new : unit -> 'T))> : DocumentFormat.OpenXml.ListValue<'T (requires 'T :> DocumentFormat.OpenXml.OpenXmlSimpleType and 'T : (new : unit -> 'T))> -> DocumentFormat.OpenXml.ListValue<'T (requires 'T :> DocumentFormat.OpenXml.OpenXmlSimpleType and 'T : (new : unit -> 'T))>
new DocumentFormat.OpenXml.ListValue<'T (requires 'T :> DocumentFormat.OpenXml.OpenXmlSimpleType and 'T : (new : unit -> 'T))> : DocumentFormat.OpenXml.ListValue<'T (requires 'T :> DocumentFormat.OpenXml.OpenXmlSimpleType and 'T : (new : unit -> 'T))> -> DocumentFormat.OpenXml.ListValue<'T (requires 'T :> DocumentFormat.OpenXml.OpenXmlSimpleType and 'T : (new : unit -> 'T))>
Public Sub New (list As ListValue(Of T))
Public Sub New (source As ListValue(Of T))

Parameters

listsource
ListValue<T>

The source ListValue<T> class.

Applies to