Share via


hasFeature Method

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

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

Script Syntax

            boolVal = objXMLDOMImplementation.hasFeature(feature, version);

Remarks

Script 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.

Script Return Value

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

C/C++ Syntax

HRESULT hasFeature(
  BSTR feature,
  BSTR version,
  VARIANT_BOOL* hasFeature
);

Remarks

C/C++ 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, retval] True if the specified feature is implemented; False otherwise.

C/C++ Return Values

  • S_OK
    Value returned if successful.

Requirements

Header msxml2.h, msxml2.idl
Library uuid.lib
Windows Embedded CE Windows CE .NET 4.0 and later

General Remarks

This method applies to the following interface:

IXMLDOMImplementation.