Microsoft XML SDK 2.6 - XML Reference

hasFeature Method

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

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.

Return Value

Boolean. Returns True if the specified feature is implemented; False otherwise.

See Also

Applies To: XMLDOMImplementation Object