Compartir a través de


WorkItemLinkCollection.Contains Method

Checks whether the specified WorkItemLink occurs in this collection.

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

Syntax

'Declaración
Public Function Contains ( _
    link As WorkItemLink _
) As Boolean
public bool Contains(
    WorkItemLink link
)
public:
bool Contains(
    WorkItemLink^ link
)
member Contains : 
        link:WorkItemLink -> bool 
public function Contains(
    link : WorkItemLink
) : boolean

Parameters

Return Value

Type: System.Boolean
True if the specified WorkItemLink occurs in this collection; otherwise, false.

Exceptions

Exception Condition
ArgumentNullException

The link parameter was null.

.NET Framework Security

See Also

Reference

WorkItemLinkCollection Class

Microsoft.TeamFoundation.WorkItemTracking.Client Namespace