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.
The following code example demonstrates the AttributesToString method
| C# | Copy Code |
|---|---|
// find elements by tag HtmlElementCollection heCol = tab.FindElementsByTags("input:checkbox"); // get attributes to string string result = heCol.AttributesToString("FullTagName"); | |
| PHP | Copy Code |
|---|---|
// find elements by tag $heCol = $tab->FindElementsByTags("input:checkbox"); // get attributes to string $result = $heCol->AttributesToString("FullTagName"); | |
Target Platforms: Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows Seven