Partager via


TestListCategoryId Class

Identifies a specific list of tests in the Test List Editor window of Microsoft Visual Studio Test Professional 2010 and provides access to the IDs of the predefined test lists.

Inheritance Hierarchy

Object
  Microsoft.VisualStudio.TestTools.Common.TestListCategoryId

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

Syntax

'Declaration
<SerializableAttribute> _
Public NotInheritable Class TestListCategoryId
[SerializableAttribute]
public sealed class TestListCategoryId
[SerializableAttribute]
public ref class TestListCategoryId sealed
[<Sealed>]
[<SerializableAttribute>]
type TestListCategoryId =  class end
public final class TestListCategoryId

The TestListCategoryId type exposes the following members.

Constructors

  Name Description
Public method TestListCategoryId() Initializes a new instance of the TestListCategoryId class.
Public method TestListCategoryId(Guid) Initializes a new instance of the TestListCategoryId class by using the provided GUID.

Top

Properties

  Name Description
Public propertyStatic member AllItems Infrastructure. Gets the test list category ID of the internal list that contains all test lists.
Public propertyStatic member Categories Gets the test list category ID of the internal list that contains all user-defined test lists.
Public propertyStatic member Empty Gets an empty Guid.
Public property Id Gets the ID for the associated test list.
Public propertyStatic member Root Infrastructure. Gets the internal ID for the container for all test lists.
Public propertyStatic member Uncategorized Gets the ID for the list of uncategorized tests.

Top

Methods

  Name Description
Public method Equals Determines whether the provided object is equal to the current test list ID. (Overrides Object.Equals(Object).)
Public method GetHashCode Serves as the default hash function. (Overrides Object.GetHashCode.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method ToString Returns a string representation of this ID. (Overrides Object.ToString.)

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.

See Also

Reference

Microsoft.VisualStudio.TestTools.Common Namespace