The System.Windows.Forms.HtmlElement that was just inserted. If insertion failed, this will return null.
Do not call this method until after the WebBrowser.DocumentCompleted event on the System.Windows.Forms.WebBrowser control has occurred. Calling this method before then can result in an exception, as the document will not have finished loading.
Whether a value of System.Windows.Forms.HtmlElementInsertionOrientation is valid will depend on the type of the element. For example, HtmlElementInsertionOrientation.AfterBegin is valid if the element is a DIV, but not if it is a SCRIPT or IMG element, neither of which can contain child elements.