QStreamable.SelectMany<TSource, TResult> 方法 (IQWindowedStreamable<TSource>, Expression<Func<IQWindowSource<TSource>, IQWindowResult<TResult>>>)

在給定函數時,傳回從視窗到視窗結果之結果資料流的繫結運算子。

命名空間:  Microsoft.ComplexEventProcessing.Linq
組件:  Microsoft.ComplexEventProcessing (在 Microsoft.ComplexEventProcessing.dll 中)

語法

'宣告
<ExtensionAttribute> _
Public Shared Function SelectMany(Of TSource, TResult) ( _
    source As IQWindowedStreamable(Of TSource), _
    windowResultSelector As Expression(Of Func(Of IQWindowSource(Of TSource), IQWindowResult(Of TResult))) _
) As IQStreamable(Of TResult)
'用途
Dim source As IQWindowedStreamable(Of TSource)
Dim windowResultSelector As Expression(Of Func(Of IQWindowSource(Of TSource), IQWindowResult(Of TResult)))
Dim returnValue As IQStreamable(Of TResult)

returnValue = source.SelectMany(windowResultSelector)
public static IQStreamable<TResult> SelectMany<TSource, TResult>(
    this IQWindowedStreamable<TSource> source,
    Expression<Func<IQWindowSource<TSource>, IQWindowResult<TResult>>> windowResultSelector
)
[ExtensionAttribute]
public:
generic<typename TSource, typename TResult>
static IQStreamable<TResult>^ SelectMany(
    IQWindowedStreamable<TSource>^ source, 
    Expression<Func<IQWindowSource<TSource>^, IQWindowResult<TResult>^>^>^ windowResultSelector
)
static member SelectMany : 
        source:IQWindowedStreamable<'TSource> * 
        windowResultSelector:Expression<Func<IQWindowSource<'TSource>, IQWindowResult<'TResult>>> -> IQStreamable<'TResult> 
JScript 不支援泛型型別及方法。

型別參數

  • TSource
    來源裝載類型。
  • TResult
    結果的裝載類型。

參數

傳回值

型別:Microsoft.ComplexEventProcessing.Linq.IQStreamable<TResult>
結合所有視窗結果的資料流。

使用注意事項

在 Visual Basic 及 C# 中,您可以在任何型別 IQWindowedStreamable<TSource> 的物件上將這個方法做為執行個體方法呼叫。使用執行個體方法語法呼叫這個方法時,請省略第一個參數。如需詳細資訊,請參閱 https://msdn.microsoft.com/zh-tw/library/bb384936(v=sql.111)https://msdn.microsoft.com/zh-tw/library/bb383977(v=sql.111)

請參閱

參考

QStreamable 類別

SelectMany 多載

Microsoft.ComplexEventProcessing.Linq 命名空間