System::Collections::Generic::IEnumerable::LINQ_Cast method

IEnumerable::LINQ_Cast() method

Casts the elements to the specified type.

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

ReturnValue

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

See Also

IEnumerable::LINQ_Cast() method

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

See Also