共用方式為


SortFieldList.Item Property

Gets or sets the SortField element at the specified index.

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

Syntax

'宣告
Public Default Property Item ( _
    index As Integer _
) As SortField
    Get
    Set
public SortField this[
    int index
] { get; set; }
public:
property SortField^ default[int index] {
    SortField^ get (int index);
    void set (int index, SortField^ value);
}
member Item : SortField with get, set
JScript does not support indexed properties.

Parameters

Property Value

Type: Microsoft.TeamFoundation.WorkItemTracking.Client.SortField
The SortField at the specified index.

Exceptions

Exception Condition
ArgumentNullException

The index parameter is null.

.NET Framework Security

See Also

Reference

SortFieldList Class

Microsoft.TeamFoundation.WorkItemTracking.Client Namespace