Share via


PimItemCollection.IndexOf Method (PimItem)

3/29/2010

Gets a PIM item’s position in the collection.

Namespace: Microsoft.WindowsMobile.PocketOutlook
Assembly: Microsoft.WindowsMobile.PocketOutlook (in microsoft.windowsmobile.pocketoutlook.dll)

Syntax

public int IndexOf (
    PimItem value
)
'Declaration
Public Function IndexOf ( _
    value As PimItem _
) As Integer

Parameters

  • value
    The PimItem to find the index of.

Return Value

The index of the PimItem if found in the list; otherwise, -1.

Remarks

Strongly typed.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread-safe. Any instance members are not guaranteed to be thread-safe.

See Also

Reference

PimItemCollection Class
PimItemCollection Members
Microsoft.WindowsMobile.PocketOutlook Namespace