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

HtmlElement Methods

The HtmlElement type exposes the following members.

  Name Description
Public method AppendChild Adds an element to another element's subtree.
Public method AttachEventHandler Adds an event handler for a named event on the HTML Document Object Model (DOM).
Public method DetachEventHandler Removes an event handler from a named event on the HTML Document Object Model (DOM).
Public method Equals Tests if the supplied object is equal to the current element. (Overrides Object.Equals(Object).)
Public method Focus Puts user input focus on the current element.
Public method GetAttribute Retrieves the value of the named attribute on the element.
Public method GetElementsByTagName Retrieves a collection of elements represented in HTML by the specified HTML tag.
Public method GetHashCode Serves as the default hash function. (Overrides Object.GetHashCode().)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method InsertAdjacentElement Insert a new element into the Document Object Model (DOM).
Public method InvokeMember(String) Executes an unexposed method on the underlying DOM element of this element.
Public method InvokeMember(String, Object[]) Executes a function defined in the current HTML page by a scripting language.
Public method RaiseEvent Causes the named event to call all registered event handlers.
Public method RemoveFocus Removes focus from the current element, if that element has focus.
Public method ScrollIntoView Scrolls through the document containing this element until the top or bottom edge of this element is aligned with the document's window.
Public method SetAttribute Sets the value of the named attribute on the element.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top
Show:
© 2014 Microsoft. All rights reserved.