ZennoLab Assemblies Documentation
Id Property
Example 
Gets the ID of the element
Syntax
public string Id {get;}

Property Value

Type: System.String

The html element ID.

Example
The following code example uses the Id property.
// find element
HtmlElement he = tab.GetDocumentByAddress("0").FindElementByAttribute("input:checkbox", "fulltag", "input:checkbox", "text", 0);
 
// get id
string id = he.Id;
// find element
$he = $tab->GetDocumentByAddress("0")->FindElementByAttribute("input:checkbox", "fulltag", "input:checkbox", "text", 0);
 
// get id
$id = $he->Id;
Requirements

Target Platforms: Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows Seven

See Also

Reference

HtmlElement Class
HtmlElement Members
FullTagName Property
TagName Property
GetAttribute Method
InnerHtml Property
OuterHtml Property
Name Property

Send Feedback