Share via


hasFeature Method (Windows CE 5.0)

Send Feedback

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

[Script]

Script Syntax

boolVal=objXMLDOMImplementation.hasFeature(feature,version);

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++]

C/C++ Syntax

HRESULT hasFeature(BSTRfeature,BSTRversion,VARIANT_BOOL* hasFeature);

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

OS Versions: Windows CE .NET 4.0 and later.
Header: Msxml2.h, Msxml2.idl.
Link Library: Uuid.lib.

General Remarks

This method applies to the following interface:

IXMLDOMImplementation.

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.