System::Collections::Generic::IEnumerable::LINQ_Select method

IEnumerable::LINQ_Select(const Func<T, ResultType>&) method

Transforms elements of a sequence.

template<typename ResultType> SharedPtr<IEnumerable<ResultType>> System::Collections::Generic::IEnumerable<T>::LINQ_Select(const Func<T, ResultType> &selector)
ParameterDescription
ResultTypeThe type of the value returned by the selector.
ParameterTypeDescription
selectorconst Func<T, ResultType>&A transform function.

ReturnValue

An IEnumerable that contains elements returned by the selector function.

See Also

IEnumerable::LINQ_Select(const Func<T, int32_t, ResultType>&) method

Transforms each element of a sequence into a new form by incorporating the element’s index.

template<typename ResultType> SharedPtr<IEnumerable<ResultType>> System::Collections::Generic::IEnumerable<T>::LINQ_Select(const Func<T, int32_t, ResultType> &selector)
ParameterDescription
ResultTypeThe type of the value returned by the selector.
ParameterTypeDescription
selectorconst Func<T, int32_t, ResultType>&A transform function.

ReturnValue

An IEnumerable that contains elements returned by the selector function.

See Also

IEnumerable::LINQ_Select(const Func<Source, Result>&) method

template<typename Result> SharedPtr<IEnumerable<Result>> System::Collections::Generic::IEnumerable<T>::LINQ_Select(const Func<Source, Result> &selector)

See Also

IEnumerable::LINQ_Select(const Func<Source, int32_t, Result>&) method

template<typename Result> SharedPtr<IEnumerable<Result>> System::Collections::Generic::IEnumerable<T>::LINQ_Select(const Func<Source, int32_t, Result> &selector)

See Also