在 Microsoft Visual Studio Test Professional 2010 的 [測試清單編輯器] 視窗中識別特定的測試清單,並提供預先定義測試清單之 ID 的存取權。
繼承階層架構
System.Object
Microsoft.VisualStudio.TestTools.Common.TestListCategoryId
命名空間: Microsoft.VisualStudio.TestTools.Common
組件: Microsoft.VisualStudio.QualityTools.Common (在 Microsoft.VisualStudio.QualityTools.Common.dll 中)
語法
'宣告
<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
TestListCategoryId 型別會公開下列成員。
建構函式
| 名稱 | 說明 | |
|---|---|---|
![]() |
TestListCategoryId() | 初始化 TestListCategoryId 類別的新執行個體。 |
![]() |
TestListCategoryId(Guid) | 使用提供的 GUID,初始化 TestListCategoryId 類別的新執行個體。 |
回頁首
屬性
| 名稱 | 說明 | |
|---|---|---|
![]() ![]() |
AllItems | 基礎架構。取得包含所有測試清單之內部清單的測試清單分類 ID。 |
![]() ![]() |
Categories | 取得包含所有使用者定義測試清單之內部清單的測試清單分類 ID。 |
![]() ![]() |
Empty | 取得空的 Guid。 |
![]() |
Id | 取得相關聯測試清單的 ID。 |
![]() ![]() |
Root | 基礎架構。取得所有測試清單之容器的內部 ID。 |
![]() ![]() |
Uncategorized | 取得未分類測試清單的 ID。 |
回頁首
方法
| 名稱 | 說明 | |
|---|---|---|
![]() |
Equals | 判斷所提供的物件是否等於目前的測試清單 ID。 (覆寫 Object.Equals(Object)。) |
![]() |
Finalize | 允許物件在記憶體回收進行回收之前,嘗試釋放資源並執行其他清除作業。 (繼承自 Object)。 |
![]() |
GetHashCode | 做為特定型別的雜湊函式。 (覆寫 Object.GetHashCode()。) |
![]() |
GetType | 取得目前執行個體的 Type。 (繼承自 Object)。 |
![]() |
MemberwiseClone | 建立目前 Object 的淺層複本 (Shallow Copy)。 (繼承自 Object)。 |
![]() |
ToString | 傳回這個 ID 的字串表示。 (覆寫 Object.ToString()。) |
回頁首
執行緒安全
這個型別的任何 Public static (在 Visual Basic 中為 Shared) 成員都具備執行緒安全。並非所有的執行個體成員都是安全執行緒。
.gif)
.gif)
.gif)
.gif)