共用方式為


IAttachmentCollection.Item Property

Gets or sets the element at the specified index.

Namespace:  Microsoft.TeamFoundation.TestManagement.Client
Assembly:  Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)

Syntax

'Declaration
ReadOnly Default Property Item ( _
    index As Integer _
) As ITestAttachment
ITestAttachment this[
    int index
] { get; }
property ITestAttachment^ default[int index] {
    ITestAttachment^ get (int index);
}
abstract Item : 
        index:int -> ITestAttachment with get
JScript does not support indexed properties.

Parameters

  • index
    Type: Int32

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

Property Value

Type: Microsoft.TeamFoundation.TestManagement.Client.ITestAttachment
The element at the specified index.

.NET Framework Security

See Also

Reference

IAttachmentCollection Interface

Microsoft.TeamFoundation.TestManagement.Client Namespace

IList