Category Class

Describes the category of work item types.

Inheritance Hierarchy

System.Object
Microsoft.TeamFoundation.WorkItemTracking.Client.Category

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

Syntax

'Declaration
Public NotInheritable Class Category
public sealed class Category
public ref class Category sealed
[<Sealed>]
type Category =  class end
public final class Category

The Category type exposes the following members.

Properties

Name Description
Public property DefaultWorkItemType Gets the default work item type of this category.
Public property Name Gets the name of this category.
Public property ReferenceName Gets the reference name of this category.
Public property WorkItemTypes Gets all work item types in this category.

Top

Methods

Name Description
Public method Contains Returns true if the specified work item type is a member of the category
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.TeamFoundation.WorkItemTracking.Client Namespace