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
- link
Type: Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemLink
The WorkItemLink to search for.
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
- 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.