TestElement.Id 属性

获取此测试元素的 ID。

命名空间:  Microsoft.VisualStudio.TestTools.Common
程序集:  Microsoft.VisualStudio.QualityTools.Common(在 Microsoft.VisualStudio.QualityTools.Common.dll 中)

语法

声明
Public ReadOnly Property Id As TestId
    Get
public TestId Id { get; }
public:
virtual property TestId^ Id {
    TestId^ get () sealed;
}
abstract Id : TestId
override Id : TestId
final function get Id () : TestId

属性值

类型:Microsoft.VisualStudio.TestTools.Common.TestId
此测试元素的 ID。

实现

ITestElement.Id

.NET Framework 安全性

请参见

参考

TestElement 类

Microsoft.VisualStudio.TestTools.Common 命名空间