A Sandcastle Documented Class Library |
HtmlAttributeCollection..::..Add Method (String, String) |
HtmlAttributeCollection Class See Also Send Feedback |
Adds a new attribute to the collection with the given values
Namespace: HtmlAgilityPack
Assembly: HtmlAgilityPack (in HtmlAgilityPack.dll) Version: 1.4.0.0 (1.4.0.0)
Syntax
C# |
---|
public void Add( string name, string value ) |
Visual Basic |
---|
Public Sub Add ( _ name As String, _ value As String _ ) |
Visual C++ |
---|
public: void Add( String^ name, String^ value ) |
Parameters
- name
- Type: System..::..String
[Missing <param name="name"/> documentation for "M:HtmlAgilityPack.HtmlAttributeCollection.Add(System.String,System.String)"]
- value
- Type: System..::..String
[Missing <param name="value"/> documentation for "M:HtmlAgilityPack.HtmlAttributeCollection.Add(System.String,System.String)"]