ITestElement.Id 屬性

取得這個測試項目的 ID。

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

語法

'宣告
ReadOnly Property Id As TestId
TestId Id { get; }
property TestId^ Id {
    TestId^ get ();
}
abstract Id : TestId with get
function get Id () : TestId

屬性值

型別:Microsoft.VisualStudio.TestTools.Common.TestId
這個測試項目的 ID。

.NET Framework 安全性

請參閱

參考

ITestElement 介面

Microsoft.VisualStudio.TestTools.Common 命名空間