Share via


HtmlAttribute Constructor

Initializes a new instance of the HtmlAttribute class.

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

Syntax

'Declaration
Public Sub New ( _
    name As String, _
    value As String _
)
public HtmlAttribute(
    string name,
    string value
)
public:
HtmlAttribute(
    String^ name, 
    String^ value
)
new : 
        name:string * 
        value:string -> HtmlAttribute
public function HtmlAttribute(
    name : String, 
    value : String
)

Parameters

  • name
    Type: String

    The name of the HTML attribute.

  • value
    Type: String

    The value of the HTML attribute.

.NET Framework Security

See Also

Reference

HtmlAttribute Class

Microsoft.VisualStudio.TestTools.WebTesting Namespace