Click to return to the XML (Extensible Markup Language) home page    
IXMLDOMImplementation Int...    
Web Workshop  |  XML (Extensible Markup Language)

IXMLDOMImplementation::hasFeature Method


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.



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.