Xml.xmldom.IDOMNode.supports

From RAD Studio API Documentation
Jump to: navigation, search


Delphi

function supports(const feature, version: DOMString): WordBool; { DOM Level 2 }

C++

virtual System::WordBool __fastcall supports(const System::UnicodeString feature, const System::UnicodeString version) = 0 ;

Properties

Type Visibility Source Unit Parent
function public
Xml.Xmldom.pas
Xml.xmldom.hpp
Xml.xmldom IDOMNode

Description

Indicates whether the node supports a specified feature.

supports returns true if the DOM implementation implements the specified feature and this node supports that feature. Otherwise, supports returns false.

feature is the name of the feature in question.

version is the version of the feature. If no version is specified, supports returns true if any version of the feature is supported.