A Sandcastle Documented Class Library |
HtmlDocument..::..CreateAttribute Method (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 ) |
Visual Basic |
---|
Public Function CreateAttribute ( _ name As String _ ) As HtmlAttribute |
Visual C++ |
---|
public: HtmlAttribute^ CreateAttribute( String^ name ) |
Parameters
- name
- Type: System..::..String
The name of the attribute. May not be null.