htmlElement Members

The following tables list the members exposed by the htmlElement type.

Public Properties

Name Description
VSObject_Properties

childNodes

Returns an array containing the direct descendants of the specified element.

VSObject_Properties

className

Retrieves the class name for the specified element.

VSObject_Properties

id

Retrieves the ID for the specified element.

VSObject_Properties

innerHtml

Sets or retrieves the HTML between the start and end tags of the specified element.

VSObject_Properties

innerText

Retrieves the text between the start and end tags of the specified element.

VSObject_Properties

nextSibling

Retrieves a reference to the next child of the parent for the specified element.

VSObject_Properties

outerHtml

Sets or retrieves the specified element and its content in HTML.

VSObject_Properties

parentNode

Retrieves the hierarchical parent of the specified element.

VSObject_Properties

previousSibling

Retrieves a reference to the previous child of the parent for the specified element.

VSObject_Properties

tagName

Retrieves the tag name for the specified element.

Public Methods

Name Description
VSObject_Method

getAttribute

Retrieves the value of an attribute from the current element.

VSObject_Method

removeAttribute

Removes an attribute from the element.

VSObject_Method

setAttribute

Sets the value of the specified attribute.

See Also

Concepts

htmlElement
xweb

  Copyright © 2011 by Microsoft Corporation. All rights reserved.