Xml.XMLDoc.TXMLNode.HasChildNode

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

function HasChildNode(const ChildTag: DOMString): Boolean; overload;
function HasChildNode(const ChildTag, NamespaceURI: DOMString): Boolean; overload;

C++

bool __fastcall HasChildNode(const System::UnicodeString ChildTag)/* overload */;
bool __fastcall HasChildNode(const System::UnicodeString ChildTag, const System::UnicodeString NamespaceURI)/* overload */;

Propriétés

Type Visibilité  Source Unité  Parent
function protected
Xml.XMLDoc.pas
Xml.XMLDoc.hpp
Xml.XMLDoc TXMLNode

Description

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

Les applications ne peuvent pas appeler la méthode protégée HasChildNode. Elle est utilisée de manière interne pour déterminer si le noeud DOM sous-jacent possède un enfant portant le nom spécifié.

ChildTag est le nom de balise local de l'enfant à rechercher.

NamespaceURI identifie l'espace de nommage dans lequel ChildTag est défini.

HasChildNode renvoie true si le noeud DOM sous-jacent comprend le noeud enfant spécifié. Sinon, elle renvoie false.

Voir aussi