TestCategoryItem Class
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 | |
---|---|---|
TestCategoryItem | Initializes a new instance of the TestCategoryItem class by using the provided category name. |
Top
Properties
Name | Description | |
---|---|---|
TestCategory | Represents the name of the category. |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether another object is equal to the current instance. (Overrides Object.Equals(Object).) | |
GetHashCode | Serves as a hash function for the TestCategoryItem class. (Overrides Object.GetHashCode.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Load | Loads XML data to reconstitute a persisted instance of the TestCategoryItem class. | |
PrepareToPersist | For this class, this method does nothing. | |
RecoverFromPersistence | Verifies the validity of the instance after it reloads from persistence. | |
Save | Saves or persists the current instance as an XML element in the XML store. | |
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.