Mono Class Library: System.Xml.XmlNode Overview | Members

System.Xml.XmlNode.Supports Method

Tests whether the node supports certain DOM features.

public virtual bool Supports (string feature, string version)

Parameters

feature
The feature name to test.
version
The feature version to test.

Returns

Whether the feature/version pair is supported by the node.

Remarks

This method currently returns true only when feature is "xml" and version is "1.0" or "2.0". This is the equivalent behavior that W3C Document Object Model Level 2 expects. However, it does not mean that this document object model really conforms to the W3C standard. Actually it does not conform to the standard.

Requirements

Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0