IdeaBlade DevForce 2010 Help Reference
SortSelector Constructor(String,IProjectionSelector,ListSortDirection)
See Also  Send Feedback
IdeaBlade.Linq Assembly > IdeaBlade.Linq Namespace > SortSelector Class > SortSelector Constructor : SortSelector Constructor(String,IProjectionSelector,ListSortDirection)



methodName
Any Enumerable method that takes either a predicate or a projection expression. InstanceType must be an IEnumerable.
projection
sortDirection
Create a SortSelector from the specified method name and projection.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal methodName As String, _
   ByVal projection As IProjectionSelector, _
   Optional ByVal sortDirection As ListSortDirection _
)
Visual Basic (Usage)Copy Code
Dim methodName As String
Dim projection As IProjectionSelector
Dim sortDirection As ListSortDirection
 
Dim instance As New SortSelector(methodName, projection, sortDirection)
C# 
public SortSelector( 
   string methodName,
   IProjectionSelector projection,
   ListSortDirection sortDirection
)
C++/CLI 
public:
SortSelector( 
   String^ methodName,
   IProjectionSelector^ projection,
   ListSortDirection sortDirection
)

Parameters

methodName
Any Enumerable method that takes either a predicate or a projection expression. InstanceType must be an IEnumerable.
projection
sortDirection

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.