Microsoft XML 2.5 SDK


 

hasFeature Method

[This is preliminary documentation and subject to change.]

Returns true if the specified version of the implementation supports the specified feature.

Syntax

boolValue = oXMLDOMImplementation.hasFeature(feature, version)

Parameters

feature

String that specifies the feature to test. In Level 1, valid feature values are "XML," "DOM," and "MS-DOM" (case insensitive).

version

String that specifies the version number to test, or, if NULL, tests for implementation of the feature in any version. In Level 1, "1.0" is the valid version value.

Returns

Boolean. Returns true if the specified feature is implemented, or false otherwise.

Applies To

XMLDOMImplementation