다음을 통해 공유


AttachmentCollection.Item Property

The Item property gets or sets the element in the specified index in the collection.

Namespace: Microsoft.Exchange.Data.Transport.Email
Assembly: Microsoft.Exchange.Data.Transport (in microsoft.exchange.data.transport.dll)

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    index As Integer _
) As Attachment
public Attachment this [
    int index
] { get; }
public:
property Attachment^ default [int] {
    Attachment^ get (int index);
}
/** @property */
public Attachment get_Item (int index)
JScript supports the use of indexed properties, but not the declaration of new ones.

Parameters

  • index
    The zero-based index of the element in the collection to get or set.

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.

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,

Target Platforms

Windows Server 2003