System::Xml::XmlReader::MoveToAttribute método

XmlReader::MoveToAttribute(int32_t) method

Cuando se sobrescribe en una clase derivada, se desplaza al atributo con el índice especificado.

virtual void System::Xml::XmlReader::MoveToAttribute(int32_t i)
ParámetroTipoDescripción
iint32_tEl índice del atributo.

Ver también

XmlReader::MoveToAttribute(String) method

Cuando se sobrescribe en una clase derivada, se mueve al atributo con el valor XmlReader::get_Name especificado.

virtual bool System::Xml::XmlReader::MoveToAttribute(String name)=0
ParámetroTipoDescripción
nameStringEl nombre calificado del atributo.

ReturnValue

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

Ver también

XmlReader::MoveToAttribute(String, String) method

Cuando se sobrescribe en una clase derivada, se mueve al atributo con los valores XmlReader::get_LocalName y XmlReader::get_NamespaceURI especificados.

virtual bool System::Xml::XmlReader::MoveToAttribute(String name, String ns)=0
ParámetroTipoDescripción
nameStringEl nombre local del atributo.
nsStringEl URI del espacio de nombres del atributo.

ReturnValue

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

Ver también