







|
| A Sandcastle Documented Class Library |
| HtmlDocument..::..CreateAttribute Method (String, String) |
| HtmlDocument Class See Also Send Feedback |
Creates an HTML attribute with the specified name.
Namespace: HtmlAgilityPack
Assembly: HtmlAgilityPack (in HtmlAgilityPack.dll) Version: 1.4.0.0 (1.4.0.0)
Syntax
| C# |
|---|
public HtmlAttribute CreateAttribute( string name, string value ) |
| Visual Basic |
|---|
Public Function CreateAttribute ( _ name As String, _ value As String _ ) As HtmlAttribute |
| Visual C++ |
|---|
public: HtmlAttribute^ CreateAttribute( String^ name, String^ value ) |
Parameters
- name
- Type: System..::..String
The name of the attribute. May not be null.
- value
- Type: System..::..String
The value of the attribute.
