Compartilhar via


hasFeature method

Returns a value that indicates whether the object implements a specific Document Object Model (DOM) standard.

 

Syntax

 retVal = object.hasFeature(bstrfeature, version);

Parameters

bstrfeature [in]

Type: BSTR

The name of the standard.

XML

DOM Core standard.

HTML

DOM HTML standard.

version [in, optional]

Type: VARIANT

The version number of the standard.

1.0

Level 1.

Standards information

Remarks

The bstrfeature parameter is case-insensitive.

IHTMLDOMImplementation::hasFeature was introduced in Microsoft Internet Explorer 6.