This documentation is archived and is not being maintained.

HtmlDocument Methods

(see also Protected Methods )
  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 Overloaded. Overridden.  
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 Overridden.  
Public method GetType  Gets the Type of the current instance. (inherited from Object)
Public method InvokeScript Overloaded. Executes an Active Scripting function defined in an HTML page.
Public method Static op_Equality  
Public method Static op_Inequality  
Public method OpenNew Gets a new HtmlDocument to use with the Write method.
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method ToString  Returns a String that represents the current Object. (inherited from Object)
Public method Write Writes a new HTML page.

  Name Description
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)