Udostępnij za pośrednictwem


HtmlTag.Name Property

Gets or sets the name of the tag.

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

Syntax

'Declaration
Public Property Name As String
'Usage
Dim instance As HtmlTag 
Dim value As String 

value = instance.Name

instance.Name = value
public string Name { get; set; }
public:
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
The tag name.

Remarks

This is like TD for a <TD></TD> tag or IMG for <IMG>.

.NET Framework Security

See Also

Reference

HtmlTag Class

HtmlTag Members

Microsoft.VisualStudio.TestTools.WebTesting Namespace