Oracle® Coherence .NET API Reference Release 3.7.1
E22844-03

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

Namespace:  Tangosol.Run.Xml
Assembly:  Coherence (in Coherence.dll) Version: 3.7.1.23 (3.7.1.23)

Syntax

C#
public override void Sort(
	int index,
	int count,
	IComparer comparer
)

Parameters

index
Type: System..::.Int32
The zero-based starting index of the range to sort.
count
Type: System..::.Int32
The length of the range to sort.
comparer
Type: System.Collections..::.IComparer
The IComparer implementation to use when comparing elements or null to use the IComparable implementation of each element.

Exceptions

ExceptionCondition
System..::.ArgumentOutOfRangeException Index is less than zero or count is less than zero.
System..::.ArgumentException Index and count do not denote a valid range of elements in the ArrayList.
System..::.InvalidOperationException Parent SimpleElement is not mutable.

See Also