IElementOuterHtml Property |
Namespace: DotNetBrowser.Dom
string OuterHtml { get; set; }
Exception | Condition |
---|---|
ArgumentException | The value is set to null. |
DomException | The value was not set. |
While the element will be replaced in the document, the variable whose OuterHtml property was set will still hold a reference to the original element. See https://developer.mozilla.org/en-US/docs/Web/API/Element/outerHTML MDN web docs.