共用方式為


TestAndCategoryPair.CategoryId 屬性

取得測試分類的 ID。

命名空間:  Microsoft.VisualStudio.TestTools.Common
組件:  Microsoft.VisualStudio.QualityTools.Common (在 Microsoft.VisualStudio.QualityTools.Common.dll 中)

語法

'宣告
Public ReadOnly Property CategoryId As TestListCategoryId
public TestListCategoryId CategoryId { get; }
public:
property TestListCategoryId^ CategoryId {
    TestListCategoryId^ get ();
}
member CategoryId : TestListCategoryId with get
function get CategoryId () : TestListCategoryId

屬性值

型別:Microsoft.VisualStudio.TestTools.Common.TestListCategoryId
測試分類的 ID。

.NET Framework 安全性

請參閱

參考

TestAndCategoryPair 類別

Microsoft.VisualStudio.TestTools.Common 命名空間

TestListCategoryId