Id Property

Html Agility Pack

Collapse imageExpand ImageCopy imageCopyHover image
Gets or sets the value of the 'id' HTML attribute. The document must have been parsed using the OptionUseIdAttribute set to true.

Namespace: HtmlAgilityPack
Assembly: HtmlAgilityPack (in HtmlAgilityPack.dll) Version: 1.4.0.0 (1.4.0.0)

Syntax

C#
public string Id { get; set; }
Visual Basic
Public Property Id As String
	Get
	Set
Visual C++
public:
property String^ Id {
	String^ get ();
	void set (String^ value);
}

See Also