다음을 통해 공유


hasFeature Method (Windows Embedded CE 6.0)

1/6/2010

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

Script Syntax

            boolVal = objXMLDOMImplementation.hasFeature(feature, version);

Remarks

Ee502014.collapse(en-US,WinEmbedded.60).gifScript 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.

Ee502014.collapse(en-US,WinEmbedded.60).gifScript Return Value

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

Ee502014.collapse(en-US,WinEmbedded.60).gifC/C++ Syntax

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

Remarks

Ee502014.collapse(en-US,WinEmbedded.60).gifC/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.

Ee502014.collapse(en-US,WinEmbedded.60).gifC/C++ Return Values

  • S_OK
    Value returned if successful.

Ee502014.collapse(en-US,WinEmbedded.60).gifRequirements

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.

See Also

Reference

XML DOM Methods