TestElement.Name Свойство
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
Получает или задает имя данного элемента теста.
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
Значение свойства
Имя элемента теста.
Реализации
- Атрибуты