This documentation is archived and is not being maintained.

DisplayFieldList::Insert Method (Int32, FieldDefinition)

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)

public:
void Insert(
	int index, 
	FieldDefinition^ value
)

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.

ExceptionCondition
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.

Show: