ElementInnerElements Property |
Gets the list of HTML elements directly contained in the current HTML element.
Namespace: MailBee.HtmlAssembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax public ElementCollection InnerElements { get; }
Public ReadOnly Property InnerElements As ElementCollection
Get
Property Value
Type:
ElementCollectionA reference to the collection of sub-elements of the current
Element object.
It's never a null reference (
Nothing in Visual Basic).
Remarks
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