System::Xml::XmlValidatingReader::MoveToAttribute method

XmlValidatingReader::MoveToAttribute(int32_t) method

Moves to the attribute with the specified index.

void System::Xml::XmlValidatingReader::MoveToAttribute(int32_t i) override
ParameterTypeDescription
iint32_tThe index of the attribute.

See Also

XmlValidatingReader::MoveToAttribute(String, String) method

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

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

ReturnValue

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

See Also

XmlValidatingReader::MoveToAttribute(String) method

Moves to the attribute with the specified name.

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

ReturnValue

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

See Also