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
The following code example demonstrates the AttributesToString method
| C# | Copy Code |
|---|---|
HtmlElementCollection heCol = tab.FindElementsByTags("input:checkbox"); string result = heCol.AttributesToString("FullTagName", ":"); | |
| PHP | Copy Code |
|---|---|
$heCol = $tab->FindElementsByTags("input:checkbox"); $result = $heCol->AttributesToString("FullTagName", ":"); | |
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