What is Ihtmldocument2?

Asked

Viewed 52 times

0

When it’s used, how it’s used, I can’t find anything to explain it to me?

Code example:

WebBrowser wb = new WebBrowser();
wb.Navigate(new Uri(location, UriKind.Absolute));
IHTMLDocument2 myDoc = new HTMLDocumentClass();
myDoc.write(new object[] { wb.DocumentText});
myDoc.close();
  • 1

    That? https://docs.microsoft.com/en-us/previous-versions/windows/internet-explorer/ie-developer/platform-apis/aa752574(v%3Dvs.85) You saw that it is something obsolete?

  • the number is only the version of the interface, is kept so for compatibility reasons

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.