Parameters
- value
Type: System.String
The new value for this html element.
- emulation
Type: System.Boolean
true, if you want to emulate the actions of the user, otherwise false.
The following code example demonstrates uses of the SetValue method.
| C# | Copy Code |
|---|---|
HtmlElement he = instance.GetTabByAddress("page").GetDocumentByAddress("0").FindElementByAttribute("input:checkbox", "fulltag", "input:checkbox", "text", 0); he.SetValue("true", true); | |
| PHP | Copy Code |
|---|---|
$he = $instance->GetTabByAddress("page")->GetDocumentByAddress("0")->FindElementByAttribute("input:checkbox", "fulltag", "input:checkbox", "text", 0); $he->SetValue("true", true); | |
Target Platforms: Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family