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!

XmlImplementation.HasFeature

Test if the DOM implementation implements a specific feature.

[Visual Basic]
Public Function HasFeature( _
   ByVal strFeature As String, _
   ByVal strVersion As String _
) As Boolean
[C#]
public bool HasFeature(
   string strFeature,
   string strVersion
);
[C++]
public: bool HasFeature(
   String* strFeature,
   String* strVersion
);
[JScript]
public function HasFeature(
   strFeature : String,
   strVersion : String
) : Boolean;

Parameters

strFeature
The package name of the feature to test. This name is case-insensitive.
strVersion
[To be supplied.]

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
XML 2.0

See Also

XmlImplementation Class | XmlImplementation Members | System.NewXml Namespace