ZennoLab Assemblies Documentation
AttributesToString(String) Method
Example 

Type: System.String

Attribute name.

Returns the attributes of all elements of the collection with the given name and assembles them into text. The attributes recorded through a line terminator.
Syntax
public string AttributesToString( 
   string attrName
)

Parameters

attrName

Type: System.String

Attribute name.

Return Value

Type: System.String

Attributes of all elements of the collection with the given name in text form.

Example
The following code example demonstrates the AttributesToString method
// find elements by tag
HtmlElementCollection heCol = tab.FindElementsByTags("input:checkbox");
 
// get attributes to string
string result = heCol.AttributesToString("FullTagName");
// find elements by tag
$heCol = $tab->FindElementsByTags("input:checkbox");
 
// get attributes to string
$result = $heCol->AttributesToString("FullTagName");
Requirements

Target Platforms: Desktop: Windows XP SP3 and older. Server: Windows Server 2003 and older.

See Also

Reference

HtmlElementCollection Class
HtmlElementCollection Members
Overload List

Send Feedback