Anteckning
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Represents a match between a test and a test category that is used by the Test List Editor window of Visual Studio Test Professional.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.TestTools.Common.TestAndCategoryPair
Namespace: Microsoft.VisualStudio.TestTools.Common
Assembly: Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)
Syntax
'Declaration
<SerializableAttribute> _
Public Class TestAndCategoryPair
[SerializableAttribute]
public class TestAndCategoryPair
[SerializableAttribute]
public ref class TestAndCategoryPair
[<SerializableAttribute>]
type TestAndCategoryPair = class end
public class TestAndCategoryPair
The TestAndCategoryPair type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
TestAndCategoryPair(TestId, TestListCategoryId) | Initializes a new instance of the TestAndCategoryPair class by using the provided test ID and category ID. |
![]() |
TestAndCategoryPair(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. |
Top
Properties
Name | Description | |
---|---|---|
![]() |
CategoryId | Gets the ID for the test category. |
![]() |
Enabled | Gets a value that indicates whether the link between the test and the category is enabled. |
![]() |
IsBrokenLink | Gets a value that indicates whether the link between the test and the category is broken. |
![]() |
TestId | Gets the ID for the test. |
Top
Methods
Name | Description | |
---|---|---|
![]() |
Equals | Determines whether the provided instance is equal to this instance. (Overrides Object.Equals(Object).) |
![]() |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() |
GetHashCode | Serves as a hash function for a particular type. (Overrides Object.GetHashCode().) |
![]() |
GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() ![]() |
ToTestId | Infrastructure. Returns a TestId object by using the provided TestAndCategoryPair object. |
![]() ![]() |
ToTestListCategoryId | Infrastructure. Returns a TestListCategoryId object by using the provided TestAndCategoryPair object. |
Top
Operators
Name | Description | |
---|---|---|
![]() ![]() |
Implicit(TestAndCategoryPair to TestId) | Infrastructure. Represents an implicit operator when comparing a TestAndCategoryPair object with a TestId object. |
![]() ![]() |
Implicit(TestAndCategoryPair to TestListCategoryId) | Infrastructure. Represents an implicit operator when comparing a TestAndCategoryPair object with a TestListCategoryId 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.