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!

ArrayList.Sort

Sorts the elements in the ArrayList, or a portion of it.

Overload List

Sorts the elements in the entire ArrayList using the specified comparer.

[Visual Basic] Overloads Overridable Public Sub Sort(IComparer)
[C#] public virtual void Sort(IComparer);
[C++] public: virtual void Sort(IComparer*);
[JScript] public function Sort(IComparer);

Sorts the elements in the entire ArrayList using the IComparable implementation of each element.

[Visual Basic] Overloads Overridable Public Sub Sort()
[C#] public virtual void Sort();
[C++] public: virtual void Sort();
[JScript] public function Sort();

Sorts the elements in a section of ArrayList using the specified comparer.

[Visual Basic] Overloads Overridable Public Sub Sort(Integer, Integer, IComparer)
[C#] public virtual void Sort(int, int, IComparer);
[C++] public: virtual void Sort(int, int, IComparer);
[JScript] public function Sort(int, int, IComparer);

See Also

ArrayList Class | ArrayList Members | System.Collections Namespace