NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Array.Sort

Sorts the elements in one-dimensional Array objects.

Overload List

Sorts a pair of one-dimensional Array objects- one containing the keys and the other containing the corresponding items- based on the keys in the first Array, using the specified IComparer interface.

[Visual Basic] Overloads Public Shared Sub Sort(Array, Array, IComparer)
[C#] public static void Sort(Array, Array, IComparer);
[C++] public: static void Sort(Array*, Array*, IComparer);
[JScript] public static function Sort(Array, Array, IComparer);

Sorts the elements in a section of a one-dimensional Array, using the specified IComparer interface.

[Visual Basic] Overloads Public Shared Sub Sort(Array, Integer, Integer, IComparer)
[C#] public static void Sort(Array, int, int, IComparer);
[C++] public: static void Sort(Array*, int, int, IComparer);
[JScript] public static function Sort(Array, int, int, IComparer);

Sorts a section of a pair of one-dimensional Array objects- one containing the keys and the other containing the corresponding items- based on the keys in the first Array, using the specified IComparer interface.

[Visual Basic] Overloads Public Shared Sub Sort(Array, Array, Integer, Integer, IComparer)
[C#] public static void Sort(Array, Array, int, int, IComparer);
[C++] public: static void Sort(Array*, Array*, int, int, IComparer);
[JScript] public static function Sort(Array, Array, int, int, IComparer);

Sorts the elements in a one-dimensional Array, using the specified IComparer interface.

[Visual Basic] Overloads Public Shared Sub Sort(Array, IComparer)
[C#] public static void Sort(Array, IComparer);
[C++] public: static void Sort(Array*, IComparer);
[JScript] public static function Sort(Array, IComparer);

Sorts a pair of one-dimensional Array objects- one containing the keys and the other containing the corresponding items- based on the keys in the first Array, using the IComparable interface implemented by each key.

[Visual Basic] Overloads Public Shared Sub Sort(Array, Array)
[C#] public static void Sort(Array, Array);
[C++] public: static void Sort(Array*, Array*);
[JScript] public static function Sort(Array, Array);

Sorts the elements in an entire one-dimensional Array, using the IComparable interface implemented by each element of the Array.

[Visual Basic] Overloads Public Shared Sub Sort(Array)
[C#] public static void Sort(Array);
[C++] public: static void Sort(Array*);
[JScript] public static function Sort(Array);

Sorts a section of a pair of one-dimensional Array objects- one containing the keys and the other containing the corresponding items- based on the keys in the first Array, using the IComparable interface implemented by each key.

[Visual Basic] Overloads Public Shared Sub Sort(Array, Array, Integer, Integer)
[C#] public static void Sort(Array, Array, int, int);
[C++] public: static void Sort(Array*, Array*, int, int);
[JScript] public static function Sort(Array, Array, int, int);

Sorts the elements in a section of a one-dimensional Array, using the IComparable interface implemented by each element of the Array.

[Visual Basic] Overloads Public Shared Sub Sort(Array, Integer, Integer)
[C#] public static void Sort(Array, int, int);
[C++] public: static void Sort(Array*, int, int);
[JScript] public static function Sort(Array, int, int);

See Also

Array Class | Array Members | System Namespace