Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 3.5
Enumerable Class
SelectMany Method

  Switch on low bandwidth view
Members FilterMembers Filter
Frameworks FilterFrameworks Filter
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
.NET Framework Class Library
Enumerable..::.SelectMany Method

Projects each element of a sequence to an IEnumerable<(Of <(T>)>) and flattens the resulting sequences into one sequence.

  NameDescription
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkSelectMany<(Of <(TSource, TResult>)>)(IEnumerable<(Of <(TSource>)>), Func<(Of <(TSource, IEnumerable<(Of <(TResult>)>)>)>))Projects each element of a sequence to an IEnumerable<(Of <(T>)>) and flattens the resulting sequences into one sequence.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkSelectMany<(Of <(TSource, TResult>)>)(IEnumerable<(Of <(TSource>)>), Func<(Of <(TSource, Int32, IEnumerable<(Of <(TResult>)>)>)>))Projects each element of a sequence to an IEnumerable<(Of <(T>)>), and flattens the resulting sequences into one sequence. The index of each source element is used in the projected form of that element.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkSelectMany<(Of <(TSource, TCollection, TResult>)>)(IEnumerable<(Of <(TSource>)>), Func<(Of <(TSource, IEnumerable<(Of <(TCollection>)>)>)>), Func<(Of <(TSource, TCollection, TResult>)>))Projects each element of a sequence to an IEnumerable<(Of <(T>)>), flattens the resulting sequences into one sequence, and invokes a result selector function on each element therein.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkSelectMany<(Of <(TSource, TCollection, TResult>)>)(IEnumerable<(Of <(TSource>)>), Func<(Of <(TSource, Int32, IEnumerable<(Of <(TCollection>)>)>)>), Func<(Of <(TSource, TCollection, TResult>)>))Projects each element of a sequence to an IEnumerable<(Of <(T>)>), flattens the resulting sequences into one sequence, and invokes a result selector function on each element therein. The index of each source element is used in the intermediate projected form of that element.
Top
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker