Freigeben über


TestElement.Name-Eigenschaft

Ruft den Namen des Testelements ab oder legt diesen fest.

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

Syntax

'Declaration
<PropertyWindowAttribute> _
<UserVisiblePropertyAttribute("{A9405AE6-9AC6-4f0e-A03F-7AFE45F6FCB7}")> _
Public Overridable Property Name As String
[PropertyWindowAttribute]
[UserVisiblePropertyAttribute("{A9405AE6-9AC6-4f0e-A03F-7AFE45F6FCB7}")]
public virtual string Name { get; set; }
[PropertyWindowAttribute]
[UserVisiblePropertyAttribute(L"{A9405AE6-9AC6-4f0e-A03F-7AFE45F6FCB7}")]
public:
virtual property String^ Name {
    String^ get ();
    void set (String^ value);
}
[<PropertyWindowAttribute>]
[<UserVisiblePropertyAttribute("{A9405AE6-9AC6-4f0e-A03F-7AFE45F6FCB7}")>]
abstract Name : string with get, set
[<PropertyWindowAttribute>]
[<UserVisiblePropertyAttribute("{A9405AE6-9AC6-4f0e-A03F-7AFE45F6FCB7}")>]
override Name : string with get, set
function get Name () : String
function set Name (value : String)

Eigenschaftswert

Typ: System.String
Der Name dieses Testelements.

Implementiert

ITestElement.Name

.NET Framework-Sicherheit

Siehe auch

Referenz

TestElement Klasse

Microsoft.VisualStudio.TestTools.Common-Namespace