Share via


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

'Declaration
Public Default Property Item ( _
    index As Integer _
) As SortField
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 : 
        index:int -> 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