System::Xml::XmlReader::MoveToAttribute method

XmlReader::MoveToAttribute(int32_t) method

When overridden in a derived class, moves to the attribute with the specified index.

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

See Also

XmlReader::MoveToAttribute(String) method

When overridden in a derived class, moves to the attribute with the specified XmlReader::get_Name value.

virtual bool System::Xml::XmlReader::MoveToAttribute(String name)=0
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

XmlReader::MoveToAttribute(String, String) method

When overridden in a derived class, moves to the attribute with the specified XmlReader::get_LocalName and XmlReader::get_NamespaceURI values.

virtual bool System::Xml::XmlReader::MoveToAttribute(String name, String ns)=0
ParameterTypeDescription
nameStringThe local name of the attribute.
nsStringThe 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