hasFeature Method (Compact 2013)
3/26/2014
Returns True if the specified version of the implementation supports the specified feature.
Syntax
boolVal = objXMLDOMImplementation.hasFeature(feature, version);
HRESULT hasFeature(
BSTR feature,
BSTR version,
VARIANT_BOOL* hasFeature
);
Parameters
Script
- 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.
C/C++
- 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, retval] True if the specified feature is implemented; False otherwise.
Return Value
Script
Boolean. Returns True if the specified feature is implemented; False otherwise.
C/C++
- S_OK
Value returned if successful.
Remarks
This method applies to the following interface:
Requirements
Header |
msxml2.h, |
Library |
uuid.lib |