DevForce Help Reference
SortSelector Constructor(Type,String,IPredicateDescription,ListSortDirection)


Any Enumerable method that takes either a predicate or a projection expression. InstanceType must be an IEnumerable.
Create a SortSelector from the specified type, method name and predicate.
Syntax
'Declaration
 
Public Function New( _
   ByVal instanceType As Type, _
   ByVal methodName As String, _
   ByVal predicate As IPredicateDescription, _
   Optional ByVal sortDirection As ListSortDirection _
)
'Usage
 
Dim instanceType As Type
Dim methodName As String
Dim predicate As IPredicateDescription
Dim sortDirection As ListSortDirection
 
Dim instance As New SortSelector(instanceType, methodName, predicate, sortDirection)

Parameters

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

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

SortSelector Class
SortSelector Members
Overload List

Send Feedback