ElementGetAttributesByName Method
Returns all attributes with the specified name and contained in the current HTML element.

Namespace: MailBee.Html
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 11.2.0 build 590 for .NET 4.5
Syntax
public TagAttributeReadOnlyCollection GetAttributesByName(
	string attrName
)

Parameters

attrName
Type: SystemString
The name of HTML attribute. attrName is case-insensitive.

Return Value

Type: TagAttributeReadOnlyCollection
A reference to the collection of attrName attributes of the current HTML element.
Exceptions
ExceptionCondition
MailBeeInvalidArgumentExceptionattrName is a null reference (Nothing in Visual Basic).
Remarks
Usually the returned collection will contain 1 or 0 attributes. It's uncommon for an HTML tag to contain multiple attributes with the same name.
See Also