LINQ_SelectMany()

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

Projects each element of a sequence and combines the resulting sequences into one sequence.

template<typename ResultType> SharedPtr<IEnumerable<ResultType>> System::Collections::Generic::IEnumerable<T>::LINQ_SelectMany(const Func<T, SharedPtr<IEnumerable<ResultType>>> &selector)

Template parameters

ParameterDescription
ResultTypeThe type of the value returned by the selector.

Arguments

ParameterTypeDescription
selectorconst Func<T, SharedPtr<IEnumerable<ResultType>>>&A transform function.

Return Value

An IEnumerable that contains the result of invoking a one-to-many projection function on each element of the input sequence.

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

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

See Also