共用方式為


TestCategoryItem 建構函式

使用所提供的分類名稱來初始化 TestCategoryItem 類別的新執行個體。

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

語法

'宣告
Public Sub New ( _
    category As String _
)
public TestCategoryItem(
    string category
)
public:
TestCategoryItem(
    String^ category
)
new : 
        category:string -> TestCategoryItem
public function TestCategoryItem(
    category : String
)

參數

.NET Framework 安全性

請參閱

參考

TestCategoryItem 類別

Microsoft.VisualStudio.TestTools.Common 命名空間