Skip to main content
Tab

DateTimeCollection.IndexOf(DateTime) Method

Returns the specified item’s position within the collection.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.2.dll

NuGet Package: DevExpress.Web

Declaration

public override int IndexOf(
    DateTime item
)

Parameters

Name Type Description
item DateTime

A DateTime object that represents the item in the collection.

Returns

Type Description
Int32

An integer value that specifies the item’s position within the collection. -1 if the collection doesn’t contain the specified item.

See Also