Compartilhar via


PimItemCollection.Find Method

3/29/2010

Finds the PIM item with the matching property description value.

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

Syntax

public int Find (
    PropertyDescriptor property,
    Object key
)
'Declaration
Public Function Find ( _
    property As PropertyDescriptor, _
    key As Object _
) As Integer

Parameters

  • property
    The PropertyDescriptor to search on.
  • key
    The value of the property parameter to search for.

Return Value

The index of the row that has the given PropertyDescriptor.

Remarks

This method will select the first row where the value of the property parameter equals the value of the key parameter.

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