RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
IDOMNode.supports Method

Indicates whether the node supports a specified feature.

Pascal
function supports(const feature: DOMString; const version: DOMString): WordBool;
C++
__fastcall WordBool supports(const DOMString feature, const DOMString version);

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. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!