DisplayFieldList.Item Property
Gets or sets the FieldDefinition object at the specified index in the collection.
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 FieldDefinition
Get
Set
public FieldDefinition this[
int index
] { get; set; }
public:
property FieldDefinition^ default[int index] {
FieldDefinition^ get (int index);
void set (int index, FieldDefinition^ value);
}
member Item : FieldDefinition with get, set
JScript does not support indexed properties.
Parameters
- index
Type: System.Int32
The index of the desired FieldDefinition object.
Property Value
Type: Microsoft.TeamFoundation.WorkItemTracking.Client.FieldDefinition
The FieldDefinition object that is located at the specified index.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | The value was 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.