Zennolab.CommandCenter
AttributesToString(String,String) Method
See Also  Example Send Feedback
Zennolab.CommandCenter Namespace > HtmlElementCollection Class > AttributesToString Method : AttributesToString(String,String) Method
attrName

Type: System.String

Attribute name.

delemiter

Type: System.String

Delimiter that separates attributes in the text.

Returns the attributes of all elements of the collection with the given name and assembles them into text. The attributes recorded through the specified delimiter.

Syntax

C# 
public string AttributesToString( 
   string attrName,
   string delemiter
)

Parameters

attrName

Type: System.String

Attribute name.

delemiter

Type: System.String

Delimiter that separates attributes in the text.

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
C#Copy Code
HtmlElementCollection heCol = tab.FindElementsByTags("input:checkbox");        
            
string result = heCol.AttributesToString("FullTagName", ":");
PHPCopy Code
$heCol = $tab->FindElementsByTags("input:checkbox");        
            
$result = $heCol->AttributesToString("FullTagName", ":");

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2011 All Rights Reserved.