ImmutableArray<T>::CastArray<TOther> Method ()
Initializes a new instance of the ImmutableArray<T> struct by casting the underlying array to an array of type
- TOther
Assembly: System.Collections.Immutable (in System.Collections.Immutable.dll)
public: generic<typename TOther> where TOther : ref class ImmutableArray<TOther> CastArray()
Return Value
Type: System.Collections.Immutable::ImmutableArray<TOther>Type Parameters
- TOther
| Exception | Condition |
|---|---|
| InvalidCastException | Thrown if the cast is illegal. |
Show: