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.

TestAndCategoryPair Class

 

Represents a match between a test and a test category that is used by the Test List Editor window of Visual Studio Test Professional.

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

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

[SerializableAttribute]
public ref class TestAndCategoryPair 

NameDescription
System_CAPS_pubmethodTestAndCategoryPair(TestId^, TestListCategoryId^)

Initializes a new instance of the TestAndCategoryPair class by using the provided test ID and category ID.

System_CAPS_pubmethodTestAndCategoryPair(TestId^, TestListCategoryId^, Boolean, Boolean)

Initializes a new instance of the TestAndCategoryPair class by using the provided test and category IDs and the indicator for a broken link.

NameDescription
System_CAPS_pubpropertyCategoryId

Gets the ID for the test category.

System_CAPS_pubpropertyEnabled

Gets a value that indicates whether the link between the test and the category is enabled.

System_CAPS_pubpropertyIsBrokenLink

Gets a value that indicates whether the link between the test and the category is broken.

System_CAPS_pubpropertyTestId

Gets the ID for the test.

NameDescription
System_CAPS_pubmethodEquals(Object^)

Determines whether the provided instance is equal to this instance.(Overrides Object::Equals(Object^).)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()
System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticToTestId(TestAndCategoryPair^)

This API supports the product infrastructure and is not intended to be used directly from your code. Returns a TestId object by using the provided TestAndCategoryPair object.

System_CAPS_pubmethodSystem_CAPS_staticToTestListCategoryId(TestAndCategoryPair^)

This API supports the product infrastructure and is not intended to be used directly from your code. Returns a TestListCategoryId object by using the provided TestAndCategoryPair object.

NameDescription
System_CAPS_puboperatorSystem_CAPS_staticImplicit(TestAndCategoryPair^ to TestId^)

This API supports the product infrastructure and is not intended to be used directly from your code. Represents an implicit operator when comparing a TestAndCategoryPair object with a TestId object.

System_CAPS_puboperatorSystem_CAPS_staticImplicit(TestAndCategoryPair^ to TestListCategoryId^)

This API supports the product infrastructure and is not intended to be used directly from your code. Represents an implicit operator when comparing a TestAndCategoryPair object with a TestListCategoryId object.

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: