idx_get()

XmlAttributeCollection::idx_get(int32_t) method

Returns the attribute with the specified index.

SharedPtr<XmlAttribute> System::Xml::XmlAttributeCollection::idx_get(int32_t i)

Arguments

ParameterTypeDescription
iint32_tThe index of the attribute.

Return Value

The attribute at the specified index.

XmlAttributeCollection::idx_get(const String&) method

Returns the attribute with the specified name.

SharedPtr<XmlAttribute> System::Xml::XmlAttributeCollection::idx_get(const String &name)

Arguments

ParameterTypeDescription
nameconst String&The qualified name of the attribute.

Return Value

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

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)

Arguments

ParameterTypeDescription
localNameconst String&The local name of the attribute.
namespaceURIconst String&The namespace URI of the attribute.

Return Value

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

See Also