40 references to NativeHtmlDocument2
System.Windows.Forms (40)
System\Windows\Forms\Controls\WebBrowser\HtmlDocument.cs (38)
39Debug.Assert(NativeHtmlDocument2 is not null, "The document should implement IHtmlDocument2"); 53using var htmlDoc2 = NativeHtmlDocument2.GetInterface(); 80using var htmlDoc2 = NativeHtmlDocument2.GetInterface(); 91using var htmlDoc2 = NativeHtmlDocument2.GetInterface(); 102using var htmlDoc2 = NativeHtmlDocument2.GetInterface(); 111using var htmlDoc2 = NativeHtmlDocument2.GetInterface(); 127using var htmlDoc2 = NativeHtmlDocument2.GetInterface(); 134using var htmlDoc2 = NativeHtmlDocument2.GetInterface(); 144using var htmlDoc2 = NativeHtmlDocument2.GetInterface(); 163using var htmlDoc2 = NativeHtmlDocument2.GetInterface(); 176using var htmlDoc2 = NativeHtmlDocument2.GetInterface(); 188using var htmlDoc2 = NativeHtmlDocument2.GetInterface(); 201using var htmlDoc2 = NativeHtmlDocument2.GetInterface(); 213using var htmlDoc2 = NativeHtmlDocument2.GetInterface(); 226using var htmlDoc2 = NativeHtmlDocument2.GetInterface(); 238using var htmlDoc2 = NativeHtmlDocument2.GetInterface(); 251using var htmlDoc2 = NativeHtmlDocument2.GetInterface(); 263using var htmlDoc2 = NativeHtmlDocument2.GetInterface(); 276using var htmlDoc2 = NativeHtmlDocument2.GetInterface(); 288using var htmlDoc2 = NativeHtmlDocument2.GetInterface(); 306public object DomDocument => NativeHtmlDocument2.GetManagedObject(); 312using var htmlDoc2 = NativeHtmlDocument2.GetInterface(); 319using var htmlDoc2 = NativeHtmlDocument2.GetInterface(); 346using var htmlDoc2 = NativeHtmlDocument2.GetInterface(); 353using var htmlDoc2 = NativeHtmlDocument2.GetInterface(); 363using var htmlDoc2 = NativeHtmlDocument2.GetInterface(); 374using var htmlDoc2 = NativeHtmlDocument2.GetInterface(); 385using var htmlDoc2 = NativeHtmlDocument2.GetInterface(); 396using var htmlDoc2 = NativeHtmlDocument2.GetInterface(); 407using var htmlDoc2 = NativeHtmlDocument2.GetInterface(); 424using var htmlDoc2 = NativeHtmlDocument2.GetInterface(); 433using var htmlDoc2 = NativeHtmlDocument2.GetInterface(); 460using var htmlDoc2 = NativeHtmlDocument2.GetInterface(); 480using var htmlDoc2 = NativeHtmlDocument2.GetInterface(); 494using var htmlDoc2 = NativeHtmlDocument2.GetInterface(); 505using var htmlDoc2 = NativeHtmlDocument2.GetInterface(); 691return 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();