HasAttribute()
Contents
[
Hide
]XmlElement::HasAttribute(String) method
Determines whether the current node has an attribute with the specified name.
virtual bool System::Xml::XmlElement::HasAttribute(String name)
Arguments
Parameter | Type | Description |
---|---|---|
name | String | The name of the attribute to find. This is a qualified name. It is matched against the get_Name value of the matching node. |
Return Value
true if the current node has the specified attribute; otherwise, false.
XmlElement::HasAttribute(String, String) method
Determines whether the current node has an attribute with the specified local name and namespace URI.
virtual bool System::Xml::XmlElement::HasAttribute(String localName, String namespaceURI)
Arguments
Parameter | Type | Description |
---|---|---|
localName | String | The local name of the attribute to find. |
namespaceURI | String | The namespace URI of the attribute to find. |
Return Value
true if the current node has the specified attribute; otherwise, false.
See Also
- Class String
- Class XmlElement
- Namespace System::Xml
- Library Aspose.Slides