MailBee.NET Objects 4.0

Element.OuterHtml Property

Gets or sets the text representation of the current HTML element.

public string OuterHtml {get; set;}

Property Value

A string containing the current HTML element with its inner content and opening and closing tags if any. It's never a null reference (Nothing in Visual Basic).

Exceptions

Exception Type Condition
MailBeeInvalidArgumentException value is a null reference (Nothing in Visual Basic).

See Also

Element Class | MailBee.Html Namespace | InnerHtml