ImmutableArray<T>::OfType<TResult> Method ()

 

Filters the elements of this array to those assignable to the specified type.

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

public:
generic<typename TResult>
IEnumerable<TResult>^ OfType()

Return Value

Type: System.Collections.Generic::IEnumerable<TResult>^

An IEnumerable that contains elements from the input sequence of type of TResult.

Type Parameters

TResult

The type to filter the elements of the sequence on.

Return to top
Show: