ZennoLab Assemblies Documentation
Id Property (HtmlElement)
Example 
ZennoLab.CommandCenter Namespace > HtmlElement Class : Id Property
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: Desktop: Windows XP SP3 and older. Server: Windows Server 2003 and older.

See Also

Reference

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