System::Xml::XmlTextReader::MoveToAttribute метод

XmlTextReader::MoveToAttribute(int32_t) method

Переходит к атрибуту с указанным индексом.

void System::Xml::XmlTextReader::MoveToAttribute(int32_t i) override
ПараметрТипОписание
iint32_tИндекс атрибута.

См. также

XmlTextReader::MoveToAttribute(String, String) method

Переходит к атрибуту с указанным локальным именем и URI пространства имён.

bool System::Xml::XmlTextReader::MoveToAttribute(String localName, String namespaceURI) override
ПараметрТипОписание
localNameStringЛокальное имя атрибута.
namespaceURIStringURI пространства имён атрибута.

ReturnValue

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

См. также

XmlTextReader::MoveToAttribute(String) method

Переходит к атрибуту с указанным именем.

bool System::Xml::XmlTextReader::MoveToAttribute(String name) override
ПараметрТипОписание
имяStringПолное имя атрибута.

ReturnValue

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

См. также