System::Xml::XmlNodeReader::MoveToAttribute método

XmlNodeReader::MoveToAttribute(int32_t) method

Se mueve al atributo con el índice especificado.

void System::Xml::XmlNodeReader::MoveToAttribute(int32_t attributeIndex) override
ParámetroTipoDescripción
attributeIndexint32_tEl índice del atributo.

Ver también

XmlNodeReader::MoveToAttribute(String) method

Se mueve al atributo con el nombre especificado.

bool System::Xml::XmlNodeReader::MoveToAttribute(String name) override
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

XmlNodeReader::MoveToAttribute(String, String) method

Se mueve al atributo con el nombre local y el URI del espacio de nombres especificados.

bool System::Xml::XmlNodeReader::MoveToAttribute(String name, String namespaceURI) override
ParámetroTipoDescripción
nameStringEl nombre local del atributo.
namespaceURIStringEl 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