ActiveReports 19 .NET Edition
MESCIUS.ActiveReports.Core.Data.ExpressionInfo Assembly / GrapeCity.Enterprise.Data.Expressions.Tools Namespace / EnumerableExtensions Class / Select<T,TR> Method
The type of the elements of the input sequence.
The type of the elements of the result sequence.
The sequence of elements to project.
A transform function to apply to each element; the second and third parameters of the function represent whether the element is the first and last in the sequence, respectively.

In This Topic
Select<T,TR> Method (EnumerableExtensions)
In This Topic
Projection of given sequence with first, last markers.
Syntax
'Declaration
 
Public Shared Function Select
    (Of T,TR)( _
   ByVal items As IEnumerable(Of T), _
   ByVal selector As Func(Of T,Boolean,Boolean,TR) _
) As IEnumerable(Of TR)
 

Parameters

items
The sequence of elements to project.
selector
A transform function to apply to each element; the second and third parameters of the function represent whether the element is the first and last in the sequence, respectively.

Type Parameters

T
The type of the elements of the input sequence.
TR
The type of the elements of the result sequence.

Return Value

returns sequence from first to last marker
See Also