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: System.String
The name of the HTML attribute.
- value
Type: System.String
The value of the HTML attribute.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.