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.

TestId Class

 

Represents a unique ID 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::TestId

[SerializableAttribute]
public ref class TestId sealed : IEquatable<TestId^>, IComparable<TestId^>, 
	IComparable, IXmlTestStore

NameDescription
System_CAPS_pubmethodTestId()

Initializes a new instance of the TestId class.

System_CAPS_pubmethodTestId(Guid)

Initializes a new instance of the TestId class by using the provided GUID.

NameDescription
System_CAPS_pubpropertySystem_CAPS_staticEmpty

Gets an empty GUID.

System_CAPS_pubpropertyId

Gets the test GUID.

NameDescription
System_CAPS_pubmethodCompareTo(Object^)

Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.

System_CAPS_pubmethodCompareTo(TestId^)

Compares the current instance with the provided test ID and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.

System_CAPS_pubmethodEquals(Object^)

Returns a value that indicates whether a provided object is equal to the current object.(Overrides Object::Equals(Object^).)

System_CAPS_pubmethodEquals(TestId^)

Returns a value that indicates whether a provided test ID is equal to the current object.

System_CAPS_pubmethodGetHashCode()
System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string representation of this test ID object.(Overrides Object::ToString().)

NameDescription
System_CAPS_puboperatorSystem_CAPS_staticEquality(TestId^, TestId^)

Represents an equality operator (=) that is used to determine whether the provided objects are equal.

System_CAPS_puboperatorSystem_CAPS_staticGreaterThan(TestId^, TestId^)

Represents a greater-than operator (>) that is used to determine whether a provided object would appear before the other provided object in a sorted list.

System_CAPS_puboperatorSystem_CAPS_staticInequality(TestId^, TestId^)

Represents an inequality operator (!=) that is used to determine whether the provided objects are not equal.

System_CAPS_puboperatorSystem_CAPS_staticLessThan(TestId^, TestId^)

Represents a less-than operator (<) that is used to determine whether a provided object would appear after the other provided object in a sorted list.

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodIXmlTestStore::Load(XmlElement^, XmlTestStoreParameters^)

Loads an instance of this class from the provided XML element by using the provided parameters.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIXmlTestStore::Save(XmlElement^, XmlTestStoreParameters^)

Saves this object in the provided XML element.

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: