Click or drag to resize
CalendarViewCollectionSort Method (Int32, Int32, IComparer)
Sorts the elements in the specified range using the specified IComparer interface.

Namespace: Kettic.AspNet.Controls.Calendar.Collections
Assembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntax
public virtual void Sort(
	int startIndex,
	int itemCount,
	IComparer itemComparer
)

Parameters

startIndex
Type: SystemInt32
The zero-based starting index of the range of elements to sort.
itemCount
Type: SystemInt32
The number of elements to sort.
itemComparer
Type: System.CollectionsIComparer

The IComparer implementation to use when comparing elements.

-or-

A null reference to use the IComparable implementation of each element.

Exceptions
ExceptionCondition
ArgumentExceptionstartIndex and itemCount do not denote a valid range of elements in the CalendarViewCollection.
ArgumentOutOfRangeException

startIndex is less than zero.

-or-

itemCount is less than zero.

NotSupportedException
Remarks
Please refer to Sort(IComparer) for details.
See Also