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: 11.2.0 build 590 for .NET 4.5
Syntax
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).
Exceptions
ExceptionCondition
MailBeeInvalidArgumentExceptionvalue is a null reference (Nothing in Visual Basic).
Remarks
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).
Examples
The example is available in Element(String) topic.
See Also