ArrayBuilder<T>.ToDowncastedImmutable<U> Method

Definition

Realizes the array, downcasting each element to a derived type.

public:
generic <typename U>
 where U : T System::Collections::Immutable::ImmutableArray<U> ToDowncastedImmutable();
public System.Collections.Immutable.ImmutableArray<U> ToDowncastedImmutable<U> () where U : T;
member this.ToDowncastedImmutable : unit -> System.Collections.Immutable.ImmutableArray<#'T>
Public Function ToDowncastedImmutable(Of U As T) () As ImmutableArray(Of U)

Type Parameters

U

Returns

Applies to