Share via


TestElement.Id Property

Gets the ID for this test element.

Namespace:  Microsoft.VisualStudio.TestTools.Common
Assembly:  Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)

Syntax

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

Property Value

Type: Microsoft.VisualStudio.TestTools.Common.TestId
The ID for this test element.

Implements

ITestElement.Id

.NET Framework Security

See Also

Reference

TestElement Class

Microsoft.VisualStudio.TestTools.Common Namespace