Partager via


TestElement.Name, propriété

Obtient ou définit le nom de cet élément de test.

Espace de noms :  Microsoft.VisualStudio.TestTools.Common
Assembly :  Microsoft.VisualStudio.QualityTools.Common (dans Microsoft.VisualStudio.QualityTools.Common.dll)

Syntaxe

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

Valeur de propriété

Type : System.String
Nom de cet élément de test.

Implémentations

ITestElement.Name

Sécurité .NET Framework

Voir aussi

Référence

TestElement Classe

Microsoft.VisualStudio.TestTools.Common, espace de noms