Export (0) Print
Expand All

TestId Class

Represents a unique ID for a test.

System.Object
  Microsoft.VisualStudio.TestTools.Common.TestId

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

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

The TestId type exposes the following members.

  NameDescription
Public methodTestId()Initializes a new instance of the TestId class.
Public methodTestId(Guid)Initializes a new instance of the TestId class by using the provided GUID.
Top

  NameDescription
Public propertyStatic memberEmptyGets an empty GUID.
Public propertyIdGets the test GUID.
Top

  NameDescription
Public methodCompareTo(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.
Public methodCompareTo(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.
Public methodEquals(Object)Returns a value that indicates whether a provided object is equal to the current object. (Overrides Object.Equals(Object).)
Public methodEquals(TestId)Returns a value that indicates whether a provided test ID is equal to the current object.
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as a hash function for a particular type. (Overrides Object.GetHashCode().)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string representation of this test ID object. (Overrides Object.ToString().)
Top

  NameDescription
Public operatorStatic memberEqualityRepresents an equality operator (=) that is used to determine whether the provided objects are equal.
Public operatorStatic memberGreaterThanRepresents a greater-than operator (>) that is used to determine whether a provided object would appear before the other provided object in a sorted list.
Public operatorStatic memberInequalityRepresents an inequality operator (!=) that is used to determine whether the provided objects are not equal.
Public operatorStatic memberLessThanRepresents a less-than operator (<) that is used to determine whether a provided object would appear after the other provided object in a sorted list.
Top

  NameDescription
Explicit interface implemetationPrivate methodIXmlTestStore.LoadLoads an instance of this class from the provided XML element by using the provided parameters.
Explicit interface implemetationPrivate methodIXmlTestStore.SaveSaves this object in the provided XML element.
Top

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

Community Additions

ADD
Show:
© 2014 Microsoft