共用方式為


FieldCollection.Item Property (Int32)

Gets the Field in this collection at the specified index.

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

Syntax

'宣告
Public ReadOnly Default Property Item ( _
    index As Integer _
) As Field
    Get
public Field this[
    int index
] { get; }
public:
property Field^ default[int index] {
    Field^ get (int index);
}
member Item : Field
JScript does not support indexed properties.

Parameters

  • index
    Type: System.Int32
    The index position in this collection of the desired field.

Property Value

Type: Microsoft.TeamFoundation.WorkItemTracking.Client.Field
The Field in this collection at the specified index.

Exceptions

Exception Condition
ValidationExcepion

The index parameter is out of range.

.NET Framework Security

See Also

Reference

FieldCollection Class

Item Overload

Microsoft.TeamFoundation.WorkItemTracking.Client Namespace