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()
|
| Managed Extensions for C++ | |
|---|
public: void Sort(); |
| C++/CLI | |
|---|
public:
void Sort(); |
Exceptions
| Exception | Description |
| InvalidOperationException | The 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