Adds the specified Link object to this collection.
Namespace:  Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly:  Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)
Syntax
声明
Public Function Add ( _
    link As Link _
) As Integer
public int Add(
    Link link
)
public:
int Add(
    Link^ link
)
member Add : 
        link:Link -> int 
public function Add(
    link : Link
) : int
Parameters
- link
 Type: Microsoft.TeamFoundation.WorkItemTracking.Client.Link
 The Link to add to this collection.
Return Value
Type: System.Int32
The index of the newly added Link 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.