Chili.Opf3 Send comments on this topic.
Sort() Method
See Also 
Chili.Opf3 Namespace > Generic ObjectSet Class > Sort Method : Sort() Method




Sorts the elements in the entire ObjectSet using the default comparer.

Syntax

Visual Basic (Declaration) 
Overloads Public Sub Sort() 
Visual Basic (Usage)Copy Code
Dim instance As ObjectSet(Of T)
 
instance.Sort()
C# 
public void Sort()
Managed Extensions for C++ 
public: void Sort(); 
C++/CLI 
public:
void Sort(); 

Exceptions

ExceptionDescription
InvalidOperationExceptionThe default comparer cannot find a IComparable implementation for type T.

Requirements

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

See Also