DateTimeCollectionSort Method (IComparer) |
Sorts the elements in the entire
DateTimeCollection
using the specified
IComparer interface.
Namespace: Kettic.AspNet.Controls.Calendar.CollectionsAssembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntax public virtual void Sort(
IComparer itemComparer
)
Public Overridable Sub Sort (
itemComparer As IComparer
)
public:
virtual void Sort(
IComparer^ itemComparer
)
abstract Sort :
itemComparer : IComparer -> unit
override Sort :
itemComparer : IComparer -> unit
Parameters
- 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 Exception | Condition |
---|
NotSupportedException | |
Remarks Please refer to Sort(IComparer) for details.
See Also