ElementInnerHtml Property
Gets or sets the inner HTML contents of 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 string InnerHtml { get; set; }

Property Value

Type: String
A string containing the inner HTML data enclosed between opening and closing tags of the current element, or an empty string if there is no content in the current HTML element. It's never a null reference (Nothing in Visual Basic).
MailBeeInvalidArgumentExceptionvalue is a null reference (Nothing in Visual Basic).
If the current element is not an HTML tag but rather a block of plain text, InnerHtml and OuterHtml properties will return the same value (the plain text contents).
The example is available in Element(String) topic.
See Also