ZennoLab.CommandCenter Assembly > ZennoLab.CommandCenter Namespace > HtmlElement Class : GetValue Method |
Type: System.Boolean
true for getting value using selected items; otherwise, false.
public string GetValue( bool useSelectedItems )
Type: System.Boolean
true for getting value using selected items; otherwise, false.
Type: System.String
The element value for the html element.
// find html element HtmlElement he = instance.GetTabByAddress("page").GetDocumentByAddress("0").FindElementByAttribute("input:checkbox", "fulltag", "input:checkbox", "text", 0); // get value string heValue = he.GetValue(false);
// find html element $he = $instance->GetTabByAddress("page")->GetDocumentByAddress("0")->FindElementByAttribute("input:checkbox", "fulltag", "input:checkbox", "text", 0); // get value $heValue = $he->GetValue(false);
Target Platforms: Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows Seven