MailBee.NET Objects 7.2

Element.GetAllElements Method 

Returns the current HTML element and all its child elements as a flat list.

public ElementReadOnlyCollection GetAllElements();

Return Value

A reference to the collection containing the current HTML element and all its child elements (including their own sub-children, etc).

Remarks

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

See Also

Element Class | MailBee.Html Namespace