QStreamable.SelectMany<TLeft, TRight, TResult> 方法 (IQStreamable<TLeft>, Expression<Func<Unit, IQStreamable<TRight>>>, Expression<Func<TLeft, TRight, TResult>>)
交叉聯結運算子。
命名空間: Microsoft.ComplexEventProcessing.Linq
組件: Microsoft.ComplexEventProcessing (在 Microsoft.ComplexEventProcessing.dll 中)
語法
'宣告
<ExtensionAttribute> _
Public Shared Function SelectMany(Of TLeft, TRight, TResult) ( _
left As IQStreamable(Of TLeft), _
right As Expression(Of Func(Of Unit, IQStreamable(Of TRight))), _
resultSelector As Expression(Of Func(Of TLeft, TRight, TResult)) _
) As IQStreamable(Of TResult)
'用途
Dim left As IQStreamable(Of TLeft)
Dim right As Expression(Of Func(Of Unit, IQStreamable(Of TRight)))
Dim resultSelector As Expression(Of Func(Of TLeft, TRight, TResult))
Dim returnValue As IQStreamable(Of TResult)
returnValue = left.SelectMany(right, _
resultSelector)
public static IQStreamable<TResult> SelectMany<TLeft, TRight, TResult>(
this IQStreamable<TLeft> left,
Expression<Func<Unit, IQStreamable<TRight>>> right,
Expression<Func<TLeft, TRight, TResult>> resultSelector
)
[ExtensionAttribute]
public:
generic<typename TLeft, typename TRight, typename TResult>
static IQStreamable<TResult>^ SelectMany(
IQStreamable<TLeft>^ left,
Expression<Func<Unit, IQStreamable<TRight>^>^>^ right,
Expression<Func<TLeft, TRight, TResult>^>^ resultSelector
)
static member SelectMany :
left:IQStreamable<'TLeft> *
right:Expression<Func<Unit, IQStreamable<'TRight>>> *
resultSelector:Expression<Func<'TLeft, 'TRight, 'TResult>> -> IQStreamable<'TResult>
JScript 不支援泛型型別及方法。
型別參數
- TLeft
左方輸入裝載類型。
- TRight
右方輸入裝載類型。
- TResult
輸出裝載類型。
參數
- left
型別:Microsoft.ComplexEventProcessing.Linq.IQStreamable<TLeft>
左方輸入資料流。
- right
型別:System.Linq.Expressions.Expression<Func<Unit, IQStreamable<TRight>>>
右方輸入資料流的定義。
- resultSelector
型別:System.Linq.Expressions.Expression<Func<TLeft, TRight, TResult>>
結果投射運算式。
傳回值
型別:Microsoft.ComplexEventProcessing.Linq.IQStreamable<TResult>
聯結資料流。
使用注意事項
在 Visual Basic 及 C# 中,您可以在任何型別 IQStreamable<TLeft> 的物件上將這個方法做為執行個體方法呼叫。使用執行個體方法語法呼叫這個方法時,請省略第一個參數。如需詳細資訊,請參閱 https://msdn.microsoft.com/zh-tw/library/bb384936(v=sql.111) 或 https://msdn.microsoft.com/zh-tw/library/bb383977(v=sql.111)。