Partilhar via


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

Return Value

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

.NET Framework Security

See Also

Reference

WorkItemCollection Class

Microsoft.TeamFoundation.WorkItemTracking.Client Namespace