Compartilhar via


AttachmentCollection.IndexOf Method (Attachment)

3/29/2010

Returns the index of a given attachment.

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

Syntax

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

Parameters

  • value
    The attachment to locate.

Return Value

The index of the attachment in the attachment collection.

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

AttachmentCollection Class
AttachmentCollection Members
Microsoft.WindowsMobile.PocketOutlook Namespace