DateTimeCollectionIndexOf Method |
Returns a zero based index of a DateTime object depending on the passed index.
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 int IndexOf(
Object inputItem
)
Public Overridable Function IndexOf (
inputItem As Object
) As Integer
public:
virtual int IndexOf(
Object^ inputItem
)
abstract IndexOf :
inputItem : Object -> int
override IndexOf :
inputItem : Object -> int
Parameters
- inputItem
- Type: SystemObject
The zero-based index, DateTime object or the date represented by the searched DateTime object.
Return Value
Type:
Int32A zero based index of the DateTime object in the collection, or -1 if the DateTime object is not found.
See Also