This documentation is archived and is not being maintained.
DisplayFieldList::Insert Method (Int32, FieldDefinition)
Visual Studio 2013
Inserts the specified FieldDefinition object into this collection at the specified index.
Namespace: Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly: Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)
Parameters
- index
- Type: System::Int32
The index at which to insert the FieldDefinition object.
- value
- Type: Microsoft.TeamFoundation.WorkItemTracking.Client::FieldDefinition
The FieldDefinition object to insert.
| Exception | Condition |
|---|---|
| ArgumentNullException | The value argument is null. |
| ArgumentOutOfRangeException | The index argument is negative or larger than the size of this collection. |
| ArgumentException | The FieldDefinition object that is specified by value is already located in this collection or it refers to an invalid FieldDefinition object. |
- 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.
Show: