Zennolab.CommandCenter
Id Property
See Also  Example Send Feedback
Zennolab.CommandCenter Namespace > HtmlElement Class : Id Property
Gets the ID of the element

Syntax

C# 
public string Id {get;}

Property Value

Type: System.String

Html element ID.

Example

The following code example uses the Id property.
C#Copy Code
HtmlElement he = tab.GetDocumentByAddress("0").FindElementByAttribute("input:checkbox", "fulltag", "input:checkbox", "text", 0);
            
string id = he.Id;
PHPCopy Code
$he = $tab->GetDocumentByAddress("0")->FindElementByAttribute("input:checkbox", "fulltag", "input:checkbox", "text", 0);
            
$id = $he->Id;

Requirements

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

See Also

© 2011 All Rights Reserved.