Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

HtmlDocument Methods

The HtmlDocument type exposes the following members.

  Name Description
Public method AttachEventHandler Adds an event handler for the named HTML DOM event.
Public method CreateElement Creates a new HtmlElement of the specified HTML tag type.
Public method DetachEventHandler Removes an event handler from a named event on the HTML DOM.
Public method Equals Tests the object for equality against the current object. (Overrides Object.Equals(Object).)
Public method ExecCommand Executes the specified command against the document.
Public method Focus Sets user input focus on the current document.
Public method GetElementById Retrieves a single HtmlElement using the element's ID attribute as a search key.
Public method GetElementFromPoint Retrieves the HTML element located at the specified client coordinates.
Public method GetElementsByTagName Retrieve a collection of elements with the specified HTML tag.
Public method GetHashCode Retrieves the hash code for this object. (Overrides Object.GetHashCode().)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method InvokeScript(String) Executes an Active Scripting function defined in an HTML page.
Public method InvokeScript(String, Object[]) Executes an Active Scripting function defined in an HTML page.
Public method OpenNew Gets a new HtmlDocument to use with the Write method.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method Write Writes a new HTML page.
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.