PocketPlanner Programmer's Guide

DateCollection.IndexOf Method

See Also

Returns the zero-based index of the first occurrence of the specified DateTime object in this collection.

Namespace: MindFusion.Scheduling.Compact
Assembly: PocketPlanner

 Syntax

C#

public int IndexOf (
    DateTime date
)

Visual Basic

Public Function IndexOf ( _
    date As DateTime _
) As Integer

 Parameters

date
The DateTime to locate in the collection.

 Return Value

The zero-based index of the first occurrence of the element within the collection if found; otherwise, -1.

 See Also