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
'Déclaration
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
- link
Type: Microsoft.TeamFoundation.WorkItemTracking.Client.RelatedLink
The RelatedLink to add to this collection.
Return Value
Type: System.Int32
The index of the newly added RelatedLink 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.