ZennoLab Assemblies Documentation
GetValue Method
See Also  Example Send Feedback
ZennoLab.CommandCenter Assembly > ZennoLab.CommandCenter Namespace > HtmlElement Class : GetValue Method
useSelectedItems
Type: System.Boolean

Glossary Item Box

Returns the value of the html element.

Syntax

C# 
public string GetValue( 
   bool useSelectedItems
)

Parameters

useSelectedItems
Type: System.Boolean

Return Value

Type: System.String
The element value for the html element.

Example

The following code example demonstrates uses of the GetValue method.
C#Copy Code
HtmlElement he = instance.GetTabByAddress("page").GetDocumentByAddress("0").FindElementByAttribute("input:checkbox", "fulltag", "input:checkbox", "text", 0);
            
string heValue = he.GetValue(false);
PHPCopy Code
$he = $instance->GetTabByAddress("page")->GetDocumentByAddress("0")->FindElementByAttribute("input:checkbox", "fulltag", "input:checkbox", "text", 0);
            
$heValue = $he->GetValue(false);

Requirements

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

See Also

© 2012 All Rights Reserved.