40 references to NativeHtmlDocument2
System.Windows.Forms (40)
System\Windows\Forms\Controls\WebBrowser\HtmlDocument.cs (38)
38Debug.Assert(NativeHtmlDocument2 is not null, "The document should implement IHtmlDocument2"); 52using var htmlDoc2 = NativeHtmlDocument2.GetInterface(); 79using var htmlDoc2 = NativeHtmlDocument2.GetInterface(); 90using var htmlDoc2 = NativeHtmlDocument2.GetInterface(); 101using var htmlDoc2 = NativeHtmlDocument2.GetInterface(); 110using var htmlDoc2 = NativeHtmlDocument2.GetInterface(); 126using var htmlDoc2 = NativeHtmlDocument2.GetInterface(); 133using var htmlDoc2 = NativeHtmlDocument2.GetInterface(); 143using var htmlDoc2 = NativeHtmlDocument2.GetInterface(); 162using var htmlDoc2 = NativeHtmlDocument2.GetInterface(); 175using var htmlDoc2 = NativeHtmlDocument2.GetInterface(); 187using var htmlDoc2 = NativeHtmlDocument2.GetInterface(); 200using var htmlDoc2 = NativeHtmlDocument2.GetInterface(); 212using var htmlDoc2 = NativeHtmlDocument2.GetInterface(); 225using var htmlDoc2 = NativeHtmlDocument2.GetInterface(); 237using var htmlDoc2 = NativeHtmlDocument2.GetInterface(); 250using var htmlDoc2 = NativeHtmlDocument2.GetInterface(); 262using var htmlDoc2 = NativeHtmlDocument2.GetInterface(); 275using var htmlDoc2 = NativeHtmlDocument2.GetInterface(); 287using var htmlDoc2 = NativeHtmlDocument2.GetInterface(); 305public object DomDocument => NativeHtmlDocument2.GetManagedObject(); 311using var htmlDoc2 = NativeHtmlDocument2.GetInterface(); 318using var htmlDoc2 = NativeHtmlDocument2.GetInterface(); 345using var htmlDoc2 = NativeHtmlDocument2.GetInterface(); 352using var htmlDoc2 = NativeHtmlDocument2.GetInterface(); 362using var htmlDoc2 = NativeHtmlDocument2.GetInterface(); 373using var htmlDoc2 = NativeHtmlDocument2.GetInterface(); 384using var htmlDoc2 = NativeHtmlDocument2.GetInterface(); 395using var htmlDoc2 = NativeHtmlDocument2.GetInterface(); 406using var htmlDoc2 = NativeHtmlDocument2.GetInterface(); 423using var htmlDoc2 = NativeHtmlDocument2.GetInterface(); 432using var htmlDoc2 = NativeHtmlDocument2.GetInterface(); 459using var htmlDoc2 = NativeHtmlDocument2.GetInterface(); 479using var htmlDoc2 = NativeHtmlDocument2.GetInterface(); 493using var htmlDoc2 = NativeHtmlDocument2.GetInterface(); 504using var htmlDoc2 = NativeHtmlDocument2.GetInterface(); 690return left.NativeHtmlDocument2.IsSameNativeObject(right.NativeHtmlDocument2);
System\Windows\Forms\Controls\WebBrowser\HtmlDocument.HtmlDocumentShim.cs (2)
43public IHTMLDocument2.Interface NativeHtmlDocument2 => (IHTMLDocument2.Interface)_htmlDocument.NativeHtmlDocument2.GetManagedObject(); 112_htmlDocument?.NativeHtmlDocument2.Dispose();