Metodo System::Xml::XmlImplementation::HasFeature

XmlImplementation::HasFeature method

Verifica se l’implementazione del Document Object Model (DOM) implementa una funzionalità specifica.

bool System::Xml::XmlImplementation::HasFeature(const String &strFeature, const String &strVersion)
ParametroTipoDescrizione
strFeatureconst String&Il nome del pacchetto della funzionalità da testare. Questo nome non distingue tra maiuscole e minuscole.
strVersionconst String&Questo è il numero di versione del nome del pacchetto da testare. Se la versione non è specificata (nullptr), il supporto di qualsiasi versione della funzionalità fa sì che il metodo restituisca true.

ReturnValue

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

Osservazioni

La tabella seguente mostra le combinazioni che fanno restituire true a HasFeature.
strFeaturestrVersion
XML1.0
XML2.0

Vedi anche