System::Xml::XmlReader::ReadToFollowing 方法

XmlReader::ReadToFollowing(String, String) method

读取直到找到具有指定本地名称和命名空间 URI 的元素。

virtual bool System::Xml::XmlReader::ReadToFollowing(String localName, String namespaceURI)
参数类型描述
localNameString元素的本地名称。
namespaceURIString元素的命名空间 URI。

ReturnValue

true if a matching element is found; otherwise false and the XmlReader is in an end of file state.

另见

XmlReader::ReadToFollowing(String) method

读取直到找到具有指定限定名称的元素。

virtual bool System::Xml::XmlReader::ReadToFollowing(String name)
参数类型描述
名称String元素的限定名称。

ReturnValue

true if a matching element is found; otherwise false and the XmlReader is in an end of file state.

另见