ElementInnerElements Property
Gets the list of HTML elements directly contained in the current HTML element.

Namespace: MailBee.Html
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.2.0 build 630 for .NET 4.5
public ElementCollection InnerElements { get; }

Property Value

Type: ElementCollection
A reference to the collection of sub-elements of the current Element object. It's never a null reference (Nothing in Visual Basic).
The returned collection contains only immediate children of the current element. Elements which are nested into child elements (sub-sub-elements, etc) are not included into the returned collection. Also, the collection can be empty if no children exist. To get the list of all contained elements (regardless of their nesting level), use GetAllElements method (it will return all the contained elements including the current element itself and thus will never be empty).
See Also