TestElement.Name Property

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

Syntax

'宣言
<UserVisiblePropertyAttribute("{A9405AE6-9AC6-4f0e-A03F-7AFE45F6FCB7}")> _
<PropertyWindowAttribute> _
Public Overridable Property Name As String
'使用
Dim instance As TestElement
Dim value As String

value = instance.Name

instance.Name = value
[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);
}
public function get Name () : String
public function set Name (value : String)

Property Value

Type: System.String

Implements

ITestElement.Name

Permissions

See Also

Reference

TestElement Class

TestElement Members

Microsoft.VisualStudio.TestTools.Common Namespace