System::Xml::XmlAttributeCollection::idx_get method

XmlAttributeCollection::idx_get(int32_t) method

Returns the attribute with the specified index.

SharedPtr<XmlAttribute> System::Xml::XmlAttributeCollection::idx_get(int32_t i)
ParameterTypeDescription
iint32_tThe index of the attribute.

ReturnValue

The attribute at the specified index.

See Also

XmlAttributeCollection::idx_get(const String&) method

Returns the attribute with the specified name.

SharedPtr<XmlAttribute> System::Xml::XmlAttributeCollection::idx_get(const String &name)
ParameterTypeDescription
nameconst String&The qualified name of the attribute.

ReturnValue

The attribute with the specified name. If the attribute does not exist, this method returns nullptr.

See Also

XmlAttributeCollection::idx_get(const String&, const String&) method

Returns the attribute with the specified local name and namespace Uniform Resource Identifier (URI).

SharedPtr<XmlAttribute> System::Xml::XmlAttributeCollection::idx_get(const String &localName, const String &namespaceURI)
ParameterTypeDescription
localNameconst String&The local name of the attribute.
namespaceURIconst String&The namespace URI of the attribute.

ReturnValue

The attribute with the specified local name and namespace URI. If the attribute does not exist, this method returns nullptr.

See Also