ImmutableArrayExtensions::ToArray<T> Method (ImmutableArray<T>)

 

Copies the contents of this array to a mutable array.

Namespace:   System.Linq
Assembly:  System.Collections.Immutable (in System.Collections.Immutable.dll)

public:
generic<typename T>
[ExtensionAttribute]
static array<T>^ ToArray(
	ImmutableArray<T> immutableArray
)

Parameters

immutableArray
Type: System.Collections.Immutable::ImmutableArray<T>

Return Value

Type: array<T>^

The newly instantiated array.

Type Parameters

T

The type of element contained by the collection.

Return to top
Show: