TestElement.Name Property

Definition

Gets or sets the name of this test element.

public:
 virtual property System::String ^ Name { System::String ^ get(); void set(System::String ^ value); };
[Microsoft.VisualStudio.TestTools.Common.LocalizedDescription(typeof(Microsoft.VisualStudio.TestTools.Resources.UIResources), "TestElement_Name_PropertyDescription")]
[Microsoft.VisualStudio.TestTools.Common.PropertyWindow]
[Microsoft.VisualStudio.TestTools.Common.TestCaseManagementDisplayName(typeof(Microsoft.VisualStudio.TestTools.Resources.UIResources), "TestElement_Name")]
[Microsoft.VisualStudio.TestTools.Common.UserVisibleProperty("{A9405AE6-9AC6-4f0e-A03F-7AFE45F6FCB7}")]
[System.ComponentModel.DefaultValue("")]
[System.ComponentModel.ReadOnly(true)]
public virtual string Name { get; set; }
[<Microsoft.VisualStudio.TestTools.Common.LocalizedDescription(typeof(Microsoft.VisualStudio.TestTools.Resources.UIResources), "TestElement_Name_PropertyDescription")>]
[<Microsoft.VisualStudio.TestTools.Common.PropertyWindow>]
[<Microsoft.VisualStudio.TestTools.Common.TestCaseManagementDisplayName(typeof(Microsoft.VisualStudio.TestTools.Resources.UIResources), "TestElement_Name")>]
[<Microsoft.VisualStudio.TestTools.Common.UserVisibleProperty("{A9405AE6-9AC6-4f0e-A03F-7AFE45F6FCB7}")>]
[<System.ComponentModel.DefaultValue("")>]
[<System.ComponentModel.ReadOnly(true)>]
member this.Name : string with get, set
Public Overridable Property Name As String

Property Value

The name of this test element.

Implements

Attributes

Applies to