LINQ_Cast()

IEnumerable::LINQ_Cast() method

Casts the elements to the specified type.

template<typename ResultType> SharedPtr<IEnumerable<ResultType>> System::Collections::Generic::IEnumerable<T>::LINQ_Cast()

Template parameters

ParameterDescription
ResultTypeThe type to cast the elements of the sequence.

Return Value

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

IEnumerable::LINQ_Cast() method

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

See Also