Returns true if the specified version of the implementation supports the specified feature.
Visual Basic Syntax
boolVal = objXMLDOMImplementation.hasFeature(feature, version)
C++ Syntax
HRESULT hasFeature( BSTR feature, BSTR version, VARIANT_BOOL *hasFeature);
Parameters
- feature
- [in] Feature to test. In Level 1, valid feature values are "XML," "DOM," and "MS-DOM" (case insensitive).
- version
- [in] Version number to test, or, if null, tests for implementation of the feature in any version. In Level 1, "1.0" is the only valid version value.
- hasFeature
- [out] True if the specified feature is implemented, or false otherwise.
C/C++ Return Value
Returns S_OK if successful, or an error code otherwise.