Xml.XMLIntf.IXMLNode.HasAttribute

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

function HasAttribute(const Name: DOMString): Boolean; overload;
function HasAttribute(const Name, NamespaceURI: DOMString): Boolean; overload;

C++

virtual bool __fastcall HasAttribute(const System::UnicodeString Name) = 0 /* overload */;
virtual bool __fastcall HasAttribute(const System::UnicodeString Name, const System::UnicodeString NamespaceURI) = 0 /* overload */;

Propriétés

Type Visibilité  Source Unité  Parent
function public
Xml.XMLIntf.pas
Xml.XMLIntf.hpp
Xml.XMLIntf IXMLNode

Description

Indique si le noeud possède un attribut portant un nom spécifié.

Appelez HasAttribute pour déterminer si ce noeud possède un attribut spécifié.

Name est le nom de l'attribut qui vous intéresse.

NamespaceURI représente l'espace de nommage de l'attribut.

HasAttribute renvoie true si ce noeud possède l'attribut spécifié, false sinon.

Voir aussi