PocketPlanner Programmer's Guide

DateStyleCollection.IndexOf Method

See Also

Returns the zero-based index of the first occurrence of a DateStyle object in this collection.

Namespace: MindFusion.Scheduling.Compact
Assembly: PocketPlanner

 Syntax

C#

public int IndexOf (
    DateStyle style
)

Visual Basic

Public Function IndexOf ( _
    style As DateStyle _
) As Integer

 Parameters

style
The DateStyle 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