Method Supports
- Namespace
- SharpVectors.Dom
- Assembly
- SharpVectors.Core.dll
Supports(string, string)
Tests whether the DOM implementation implements a specific feature and that feature is supported by this node.
bool Supports(string feature, string version)
Parameters
feature
stringname of the feature to test. This is the same name which can be passed to the method HasFeature(string, string) on IDomImplementation.
version
stringThis is the version number of the feature to test. In Level 2, version 1, this is the string
"2.0"
. If the version is not specified, supporting any version of the feature will cause the method to return true.