System::Xml::XmlImplementation::HasFeature methode

XmlImplementation::HasFeature method

Test of de Document Object Model (DOM)-implementatie een specifieke functie implementeert.

bool System::Xml::XmlImplementation::HasFeature(const String &strFeature, const String &strVersion)
ParameterTypeBeschrijving
strFeatureconst String&De pakketnaam van de te testen functie. Deze naam is niet hoofdlettergevoelig.
strVersionconst String&Dit is het versienummer van de pakketnaam om te testen. Als de versie niet is gespecificeerd (nullptr), ondersteunt elke versie van de functie ervoor dat de methode true retourneert.

ReturnValue

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

Opmerkingen

De volgende tabel toont de combinaties die ervoor zorgen dat HasFeature true retourneert.
strFeaturestrVersion
XML1.0
XML2.0

Zie ook