Partager via


CategoryCollection.Contains Method

Checks whether this collection contains a category that has the specified name.

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

Syntax

'Déclaration
Public Function Contains ( _
    name As String _
) As Boolean
public bool Contains(
    string name
)
public:
bool Contains(
    String^ name
)
member Contains : 
        name:string -> bool 
public function Contains(
    name : String
) : boolean

Parameters

Return Value

Type: System.Boolean
True if a category that has the specified name exists in this collection; otherwise, false.

.NET Framework Security

See Also

Reference

CategoryCollection Class

Microsoft.TeamFoundation.WorkItemTracking.Client Namespace