Partilhar via


isSupported method

Returns a value indicating whether or not the object supports a specific Document Object Model (DOM) standard.

 

Syntax

 retVal = object.isSupported(bstrfeature, version);

Parameters

bstrfeature [in]

Type: BSTR

The name of the standard.

Core

DOM Core module.

XML

DOM XML module.

Events

DOM Events module.

UIEvents

DOM User interface Events module.

MouseEvents

DOM Mouse Events module.

TextEvents

DOM Text Events module.

MutationEvents

DOM Mutation Events module.

MutationNameEvents

DOM Mutation name Events module.

HTMLEvents

DOM HTML Events module.

LS

DOM Load and Save module.

LS-Async

DOM Asynchronous load module.

Validation

DOM Validation module.

XPath

DOM XPath module.

version [in, optional]

Type: VARIANT

The version number of the standard. Supported values vary according to the standard.

Standards information

See also

IHTMLDOMImplementation::hasFeature