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
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
- index
Type: System.Int32
The index of the SortField to get or set.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.