System::Xml::XmlValidatingReader::MoveToAttribute 方法

XmlValidatingReader::MoveToAttribute(int32_t) method

移动到具有指定索引的属性。

void System::Xml::XmlValidatingReader::MoveToAttribute(int32_t i) override
ParameterType描述
iint32_t属性的索引。

另见

XmlValidatingReader::MoveToAttribute(String, String) method

移动到具有指定本地名称和命名空间统一资源标识符(URI)的属性。

bool System::Xml::XmlValidatingReader::MoveToAttribute(String localName, String namespaceURI) override
ParameterType描述
localName字符串属性的本地名称。
namespaceURI字符串属性的命名空间 URI。

ReturnValue

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

另见

XmlValidatingReader::MoveToAttribute(String) method

移动到具有指定名称的属性。

bool System::Xml::XmlValidatingReader::MoveToAttribute(String name) override
ParameterType描述
name字符串属性的限定名称。

ReturnValue

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

另见