This documentation is archived and is not being maintained.

WorkItemLinkCollection::AddItem Method

Adds the specified object to this collection.

Namespace:  Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly:  Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)

protected:
virtual int AddItem(
	Object^ value
) override

Parameters

value
Type: System::Object

The object to add to this collection.

Return Value

Type: System::Int32
The index in this collection of the newly added object.

ExceptionCondition
ArgumentNullException

The value is null.

InvalidOperationException

The object that is specified in the value parameter already occurs in this collection.

Show: