System::Xml::XmlAttributeCollection::idx_get-methode

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

Retourneert het attribuut met de opgegeven lokale naam en namespace Uniform Resource Identifier (URI).

SharedPtr<XmlAttribute> System::Xml::XmlAttributeCollection::idx_get(const String &localName, const String &namespaceURI)
ParameterTypeBeschrijving
localNameconst String&De lokale naam van het attribuut.
namespaceURIconst String&De namespace-URI van het attribuut.

ReturnValue

Het attribuut met de opgegeven lokale naam en namespace‑URI. Als het attribuut niet bestaat, retourneert deze methode nullptr.

Zie ook

XmlAttributeCollection::idx_get(const String&) method

Retourneert het attribuut met de opgegeven naam.

SharedPtr<XmlAttribute> System::Xml::XmlAttributeCollection::idx_get(const String &name)
ParameterTypeBeschrijving
nameconst String&De gekwalificeerde naam van het attribuut.

ReturnValue

Het attribuut met de opgegeven naam. Als het attribuut niet bestaat, retourneert deze methode nullptr.

Zie ook

XmlAttributeCollection::idx_get(int32_t) method

Retourneert het attribuut met de opgegeven index.

SharedPtr<XmlAttribute> System::Xml::XmlAttributeCollection::idx_get(int32_t i)
ParameterTypeBeschrijving
iint32_tDe index van het attribuut.

ReturnValue

Het attribuut op de opgegeven index.

Zie ook