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;
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 |
XmlImplementation Class | XmlImplementation Members | System.NewXml Namespace