Represents a category for a test.
Inheritance Hierarchy
Object
  Microsoft.VisualStudio.TestTools.Common.TestCategoryItem
Namespace:  Microsoft.VisualStudio.TestTools.Common
Assembly:  Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)
Syntax
'Declaration
<SerializableAttribute> _
Public NotInheritable Class TestCategoryItem _
    Implements IPersistable, IXmlTestStore
[SerializableAttribute]
public sealed class TestCategoryItem : IPersistable, 
    IXmlTestStore
[SerializableAttribute]
public ref class TestCategoryItem sealed : IPersistable, 
    IXmlTestStore
[<Sealed>]
[<SerializableAttribute>]
type TestCategoryItem =  
    class 
        interface IPersistable 
        interface IXmlTestStore 
    end
public final class TestCategoryItem implements IPersistable, IXmlTestStore
The TestCategoryItem type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| .gif) | TestCategoryItem | Initializes a new instance of the TestCategoryItem class by using the provided category name. | 
Top
Properties
| Name | Description | |
|---|---|---|
| .gif) | TestCategory | Represents the name of the category. | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) | Equals | Determines whether another object is equal to the current instance. (Overrides Object.Equals(Object).) | 
| .gif) | GetHashCode | Serves as a hash function for the TestCategoryItem class. (Overrides Object.GetHashCode.) | 
| .gif) | GetType | Gets the Type of the current instance. (Inherited from Object.) | 
| .gif) | Load | Loads XML data to reconstitute a persisted instance of the TestCategoryItem class. | 
| .gif) | PrepareToPersist | For this class, this method does nothing. | 
| .gif) | RecoverFromPersistence | Verifies the validity of the instance after it reloads from persistence. | 
| .gif) | Save | Saves or persists the current instance as an XML element in the XML store. | 
| .gif) | ToString | Returns the category name. (Overrides Object.ToString.) | 
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.