Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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)
Syntax
'Declaration
Public Sub Insert ( _
    index As Integer, _
    value As FieldDefinition _
)
public void Insert(
    int index,
    FieldDefinition value
)
public:
void Insert(
    int index, 
    FieldDefinition^ value
)
member Insert : 
        index:int * 
        value:FieldDefinition -> unit 
public function Insert(
    index : int, 
    value : FieldDefinition
)
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.
Exceptions
| 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. | 
.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.