Supports()

XmlNode::Supports(String, String) method

Tests if the DOM implementation implements a specific feature.

virtual bool System::Xml::XmlNode::Supports(String feature, String version)

Arguments

ParameterTypeDescription
featureStringThe package name of the feature to test. This name is not case-sensitive.
versionStringThe version number of the package name to test. If the version is not specified (null), supporting any version of the feature causes the method to return true.

Return Value

true if the feature is implemented in the specified version; otherwise, false.

Remarks

The following table describes the combinations that return true.

FeatureVersion
XML1.0
XML2.0

See Also