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



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

Syntax

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

Parameters

methodName
Any Enumerable method that takes either a predicate or a projection expression. InstanceType must be an IEnumerable.
predicate
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.