WorkItemCollection.Contains Method
Checks whether the specified WorkItem occurs in this collection.
Namespace: Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly: Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)
Syntax
'Declaração
Public Function Contains ( _
value As WorkItem _
) As Boolean
public bool Contains(
WorkItem value
)
public:
bool Contains(
WorkItem^ value
)
member Contains :
value:WorkItem -> bool
public function Contains(
value : WorkItem
) : boolean
Parameters
- value
Type: Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItem
The WorkItem to check for.
Return Value
Type: System.Boolean
True if the specified WorkItem occurs in this collection; otherwise, false.
.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.