System::Xml::XmlNodeReader::MoveToAttribute method

XmlNodeReader::MoveToAttribute(int32_t) method

Moves to the attribute with the specified index.

void System::Xml::XmlNodeReader::MoveToAttribute(int32_t attributeIndex) override
ParameterTypeDescription
attributeIndexint32_tThe index of the attribute.

See Also

XmlNodeReader::MoveToAttribute(String) method

Moves to the attribute with the specified name.

bool System::Xml::XmlNodeReader::MoveToAttribute(String name) override
ParameterTypeDescription
nameStringThe qualified name of the attribute.

ReturnValue

true if the attribute is found; otherwise, false. If false, the reader’s position does not change.

See Also

XmlNodeReader::MoveToAttribute(String, String) method

Moves to the attribute with the specified local name and namespace URI.

bool System::Xml::XmlNodeReader::MoveToAttribute(String name, String namespaceURI) override
ParameterTypeDescription
nameStringThe local name of the attribute.
namespaceURIStringThe namespace URI of the attribute.

ReturnValue

true if the attribute is found; otherwise, false. If false, the reader’s position does not change.

See Also