Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

TestCategoryItem Class

 

Represents a category for a test.

Namespace:   Microsoft.VisualStudio.TestTools.Common
Assembly:  Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)

System::Object
  Microsoft.VisualStudio.TestTools.Common::TestCategoryItem

[SerializableAttribute]
public ref class TestCategoryItem sealed : IPersistable, IXmlTestStore

NameDescription
System_CAPS_pubmethodTestCategoryItem(String^)

Initializes a new instance of the TestCategoryItem class by using the provided category name.

NameDescription
System_CAPS_pubpropertyTestCategory

Represents the name of the category.

NameDescription
System_CAPS_pubmethodEquals(Object^)

Determines whether another object is equal to the current instance.(Overrides Object::Equals(Object^).)

System_CAPS_pubmethodGetHashCode()

Serves as a hash function for the TestCategoryItem class.(Overrides Object::GetHashCode().)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodLoad(XmlElement^, XmlTestStoreParameters^)

Loads XML data to reconstitute a persisted instance of the TestCategoryItem class.

System_CAPS_pubmethodPrepareToPersist()

For this class, this method does nothing.

System_CAPS_pubmethodRecoverFromPersistence()

Verifies the validity of the instance after it reloads from persistence.

System_CAPS_pubmethodSave(XmlElement^, XmlTestStoreParameters^)

Saves or persists the current instance as an XML element in the XML store.

System_CAPS_pubmethodToString()

Returns the category name.(Overrides Object::ToString().)

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

Return to top
Show: