TestId Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a unique ID for a test.
public ref class TestId sealed : IComparable, IComparable<Microsoft::VisualStudio::TestTools::Common::TestId ^>, IEquatable<Microsoft::VisualStudio::TestTools::Common::TestId ^>, Microsoft::VisualStudio::TestTools::Common::Xml::IXmlTestStore
[System.Serializable]
public sealed class TestId : IComparable, IComparable<Microsoft.VisualStudio.TestTools.Common.TestId>, IEquatable<Microsoft.VisualStudio.TestTools.Common.TestId>, Microsoft.VisualStudio.TestTools.Common.Xml.IXmlTestStore
[<System.Serializable>]
type TestId = class
interface IEquatable<TestId>
interface IComparable<TestId>
interface IComparable
interface IXmlTestStore
Public NotInheritable Class TestId
Implements IComparable, IComparable(Of TestId), IEquatable(Of TestId), IXmlTestStore
- Inheritance
-
TestId
- Attributes
- Implements
Constructors
TestId() |
Initializes a new instance of the TestId class. |
TestId(Guid) |
Initializes a new instance of the TestId class by using the provided GUID. |
Properties
Empty |
Gets an empty GUID. |
Id |
Gets the test GUID. |
Methods
CompareTo(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. |
CompareTo(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. |
Equals(Object) |
Returns a value that indicates whether a provided object is equal to the current object. |
Equals(TestId) |
Returns a value that indicates whether a provided test ID is equal to the current object. |
GetHashCode() | |
ToString() |
Returns a string representation of this test ID object. |
Operators
Equality(TestId, TestId) |
Represents an equality operator (=) that is used to determine whether the provided objects are equal. |
GreaterThan(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. |
Inequality(TestId, TestId) |
Represents an inequality operator (!=) that is used to determine whether the provided objects are not equal. |
LessThan(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. |
Explicit Interface Implementations
IXmlTestStore.Load(XmlElement, XmlTestStoreParameters) |
Loads an instance of this class from the provided XML element by using the provided parameters. |
IXmlTestStore.Save(XmlElement, XmlTestStoreParameters) |
Saves this object in the provided XML element. |