Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Select(TInput, TOutput) Method (ICepEnumerable(TInput), Expression(Func(TInput, TOutput)))

CepStream.Select<TInput, TOutput> Method (ICepEnumerable<TInput>, Expression<Func<TInput, TOutput>>)

Projects each event of an enumerable input stream into a new event.

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

public static ICepEnumerable<TOutput> Select<TInput, TOutput>(
	this ICepEnumerable<TInput> source,
	Expression<Func<TInput, TOutput>> selector

Type Parameters


Type of the source.


Type of the result.


Type: Microsoft.ComplexEventProcessing.Linq.ICepEnumerable<TInput>
The enumerable source to be projected. This parameter cannot be null.
Type: System.Linq.Expressions.Expression<Func<TInput, TOutput>>
The projection selector. This parameter cannot be null.

Return Value

Type: Microsoft.ComplexEventProcessing.Linq.ICepEnumerable<TOutput>
The enumerable stream of projected results.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ICepEnumerable<TInput>. 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.aspx or https://msdn.microsoft.com/en-us/library/bb383977.aspx.
© 2015 Microsoft