Chili.Opf3 Send comments on this topic.
AppendSort Method
See Also 
Chili.Opf3.Query Namespace > Generic ObjectQueryBuilder Class : AppendSort Method




propertyName
The property name to sort the query by.
sortDirection
The direction of the sort.
Appends a sort to the query.

Syntax

Visual Basic (Declaration) 
Public Sub AppendSort( _
   ByVal propertyName As String, _
   ByVal sortDirection As SortDirections _
) 
Visual Basic (Usage)Copy Code
Dim instance As ObjectQueryBuilder(Of T)
Dim propertyName As String
Dim sortDirection As SortDirections
 
instance.AppendSort(propertyName, sortDirection)
C# 
public void AppendSort( 
   string propertyName,
   SortDirections sortDirection
)
Managed Extensions for C++ 
public: void AppendSort( 
   string* propertyName,
   SortDirections sortDirection
) 
C++/CLI 
public:
void AppendSort( 
   String^ propertyName,
   SortDirections sortDirection
) 

Parameters

propertyName
The property name to sort the query by.
sortDirection
The direction of the sort.

Requirements

Platforms: Windows 2000, Windows XP family, Windows Server 2003 family, Windows Vista family

See Also