NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

XmlNode.Supports

Test if the DOM implementation implements a specific feature.

[Visual Basic]
Overridable Public Function Supports( _
   ByVal feature As String, _
   ByVal version As String _
) As Boolean
[C#]
public virtual bool Supports(
   string feature,
   string version
);
[C++]
public: virtual bool Supports(
   String* feature,
   String* version
);
[JScript]
public function Supports(
   feature : String,
   version : String
) : Boolean;

Parameters

feature
The package name of the feature to test. This name is case-insensitive.
version
This is the version number of the package name to test. If the version is not specified (null), supporting any version of the feature will cause the method to return true.

Return Value

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

This implementation returns true for the following combinations:

strFeature strVersion
XML 1.0

See Also

XmlNode Class | XmlNode Members | System.NewXml Namespace