MailBee.NET Objects 4.0

Element.GetInnerElementsByName Method 

Returns the flat list containing elements with the specified tag name and contained in the current HTML element.

public ElementReadOnlyCollection GetInnerElementsByName(
   string tagName
);

Parameters

tagName
The HTML tag name. tagName is case-insensitive.

Return Value

A reference to the collection containing those child elements of the current HTML element (including their own sub-children, etc) which have 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).

See Also

Element Class | MailBee.Html Namespace