GetAttribute()
Contents
[
Hide
]XmlNodeReader::GetAttribute(String) method
Returns the value of the attribute with the specified name.
String System::Xml::XmlNodeReader::GetAttribute(String name) override
Arguments
Parameter | Type | Description |
---|---|---|
name | String | The qualified name of the attribute. |
Return Value
The value of the specified attribute. If the attribute is not found, nullptr is returned.
XmlNodeReader::GetAttribute(String, String) method
Returns the value of the attribute with the specified local name and namespace URI.
String System::Xml::XmlNodeReader::GetAttribute(String name, String namespaceURI) override
Arguments
Parameter | Type | Description |
---|---|---|
name | String | The local name of the attribute. |
namespaceURI | String | The namespace URI of the attribute. |
Return Value
The value of the specified attribute. If the attribute is not found, nullptr is returned.
XmlNodeReader::GetAttribute(int32_t) method
Returns the value of the attribute with the specified index.
String System::Xml::XmlNodeReader::GetAttribute(int32_t attributeIndex) override
Arguments
Parameter | Type | Description |
---|---|---|
attributeIndex | int32_t | The index of the attribute. The index is zero-based. (The first attribute has index 0.) |
Return Value
The value of the specified attribute.
See Also
- Class String
- Class XmlNodeReader
- Namespace System::Xml
- Library Aspose.Slides