ZennoLab Assemblies Documentation
TagName Property
See Also  Example Send Feedback
ZennoLab.CommandCenter Assembly > ZennoLab.CommandCenter Namespace > HtmlElement Class : TagName Property

Glossary Item Box

Gets the tag of the element.

Syntax

C# 
public string TagName {get;}

Property Value

Type: System.String

The tag of the element.

Example

The following code example uses the TagName property.
C#Copy Code
// find element
HtmlElement he = tab.GetDocumentByAddress("0").FindElementByAttribute("input:checkbox", "fulltag", "input:checkbox", "text", 0);
 
// get tag name
string tag = he.TagName;
PHPCopy Code
// find element
$he = $tab->GetDocumentByAddress("0")->FindElementByAttribute("input:checkbox", "fulltag", "input:checkbox", "text", 0);
 
// get tag name
$tag = $he->TagName;

Requirements

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

See Also

© 2014 All Rights Reserved.