System::Xml::XmlReader::ReadToNextSibling 메서드

XmlReader::ReadToNextSibling(String, String) method

지정된 로컬 이름과 네임스페이스 URI를 가진 다음 형제 요소로 XmlReader를 이동시킵니다.

virtual bool System::Xml::XmlReader::ReadToNextSibling(String localName, String namespaceURI)
매개변수형식설명
localNameString이동하려는 형제 요소의 로컬 이름입니다.
namespaceURIString이동하려는 형제 요소의 네임스페이스 URI입니다.

ReturnValue

true if a matching sibling element is found; otherwise, false. If a matching sibling element is not found, the XmlReader is positioned on the end tag (XmlReader::get_NodeType value is XmlNodeType::EndElement) of the parent element.

또 보기

XmlReader::ReadToNextSibling(String) method

지정된 정규화된 이름을 가진 다음 형제 요소로 XmlReader를 이동시킵니다.

virtual bool System::Xml::XmlReader::ReadToNextSibling(String name)
매개변수형식설명
nameString이동하려는 형제 요소의 정규화된 이름입니다.

ReturnValue

true if a matching sibling element is found; otherwise false. If a matching sibling element is not found, the XmlReader is positioned on the end tag (XmlReader::get_NodeType value is XmlNodeType::EndElement) of the parent element.

또 보기