Xml.XMLIntf.IXMLNode.HasAttribute

From RAD Studio API Documentation
Jump to: navigation, search

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 */;

Properties

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

Description

Indicates whether the node has an attribute with a specified name.

Call HasAttribute to determine whether this node has a specified attribute.

Name is the name of the attribute about which you want to know.

NamespaceURI is the namespace of the attribute.

HasAttribute returns true if this node has the specified attribute, false otherwise.

See Also