QStreamable.Select<TSource, TResult> Method (IQOrderedWindow<TSource>, Expression<Func<TSource, TResult>>)

Projection operator over ordered window.

Namespace:  Microsoft.ComplexEventProcessing.Linq
Assembly:  Microsoft.ComplexEventProcessing (in Microsoft.ComplexEventProcessing.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function Select(Of TSource, TResult) ( _
    source As IQOrderedWindow(Of TSource), _
    selector As Expression(Of Func(Of TSource, TResult)) _
) As IQOrderedWindow(Of TResult)
'Usage
Dim source As IQOrderedWindow(Of TSource)
Dim selector As Expression(Of Func(Of TSource, TResult))
Dim returnValue As IQOrderedWindow(Of TResult)

returnValue = source.Select(selector)
public static IQOrderedWindow<TResult> Select<TSource, TResult>(
    this IQOrderedWindow<TSource> source,
    Expression<Func<TSource, TResult>> selector
)
[ExtensionAttribute]
public:
generic<typename TSource, typename TResult>
static IQOrderedWindow<TResult>^ Select(
    IQOrderedWindow<TSource>^ source, 
    Expression<Func<TSource, TResult>^>^ selector
)
static member Select : 
        source:IQOrderedWindow<'TSource> * 
        selector:Expression<Func<'TSource, 'TResult>> -> IQOrderedWindow<'TResult> 
JScript does not support generic types and methods.

Type Parameters

  • TSource
    The input payload type.
  • TResult
    The output payload type.

Parameters

Return Value

Type: Microsoft.ComplexEventProcessing.Linq.IQOrderedWindow<TResult>
The ordered window.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IQOrderedWindow<TSource>. When you use instance method syntax to call this method, omit the first parameter. For more information, see https://msdn.microsoft.com/en-us/library/bb384936(v=sql.111) or https://msdn.microsoft.com/en-us/library/bb383977(v=sql.111).

See Also

Reference

QStreamable Class

Select Overload

Microsoft.ComplexEventProcessing.Linq Namespace