Delen via


LinkCollection.Add Method (RelatedLink)

Adds the specified RelatedLink object to this collection.

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

Syntax

'Declaration
Public Function Add ( _
    link As RelatedLink _
) As Integer
public int Add(
    RelatedLink link
)
public:
int Add(
    RelatedLink^ link
)
member Add : 
        link:RelatedLink -> int
public function Add(
    link : RelatedLink
) : int

Parameters

Return Value

Type: System.Int32
The index of the newly added RelatedLink object.

.NET Framework Security

See Also

Reference

LinkCollection Class

Add Overload

Microsoft.TeamFoundation.WorkItemTracking.Client Namespace