System::Xml::XmlValidatingReader::MoveToAttribute metod

XmlValidatingReader::MoveToAttribute(int32_t) method

Flyttar till attributet med det angivna indexet.

void System::Xml::XmlValidatingReader::MoveToAttribute(int32_t i) override
ParameterTypBeskrivning
iint32_tIndexet för attributet.

Se även

XmlValidatingReader::MoveToAttribute(String, String) method

Flyttar till attributet med det angivna lokala namnet och namnrymdens Uniform Resource Identifier (URI).

bool System::Xml::XmlValidatingReader::MoveToAttribute(String localName, String namespaceURI) override
ParameterTypBeskrivning
localNameStringDet lokala namnet på attributet.
namespaceURIStringNamnrymds-URI:n för attributet.

ReturnValue

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

Se även

XmlValidatingReader::MoveToAttribute(String) method

Flyttar till attributet med det angivna namnet.

bool System::Xml::XmlValidatingReader::MoveToAttribute(String name) override
ParameterTypBeskrivning
namnStringDet kvalificerade namnet på attributet.

ReturnValue

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

Se även