Add Method (String, String)

Html Agility Pack

Collapse imageExpand ImageCopy imageCopyHover image
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)"]

See Also