System::Collections::Generic::IEnumerable::LINQ_OfType method

IEnumerable::LINQ_OfType() method

Filters the elements of the sequence based on the specified type.

template<typename ResultType> SharedPtr<IEnumerable<ResultType>> System::Collections::Generic::IEnumerable<T>::LINQ_OfType()
ParameterDescription
ResultTypeThe type to filter the elements of the sequence.

ReturnValue

An IEnumerable that contains elements from the sequence of the ResultType.

See Also

IEnumerable::LINQ_OfType() method

template<typename Result> SharedPtr<IEnumerable<Result>> System::Collections::Generic::IEnumerable<T>::LINQ_OfType()

See Also