ElementGetAllElementsByName Method
Returns the current HTML element and all its child elements having the specified tag name as a flat list.

Namespace: MailBee.Html
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax
public ElementReadOnlyCollection GetAllElementsByName(
	string tagName
)

Parameters

tagName
Type: SystemString
The HTML tag name. tagName is case-insensitive.

Return Value

Type: ElementReadOnlyCollection
A reference to the collection containing the current HTML element and all its child elements (including their own sub-children, etc) having the specified tag name.
Remarks

If tagName is a null reference, the returned collection will contain only those child elements which are not tags (i.e. plain-text blocks).

The returned collection is never empty (it contains at least the current element itself).

See Also