IXPathNavigable.CreateNavigator 메서드

정의

XPathNavigator 개체를 반환합니다.Returns a new XPathNavigator object.

public:
 System::Xml::XPath::XPathNavigator ^ CreateNavigator();
public System.Xml.XPath.XPathNavigator CreateNavigator ();
abstract member CreateNavigator : unit -> System.Xml.XPath.XPathNavigator
Public Function CreateNavigator () As XPathNavigator

반환

XPathNavigator 개체입니다.An XPathNavigator object.

예제

CreateNavigator 메서드의 예제는 XmlNode, XPathDocument또는 XmlDocument 클래스를 참조 하세요.For examples of the CreateNavigator method, see the XmlNode, XPathDocument, or XmlDocument classes.

설명

CreateNavigator 메서드가 XmlNode 개체에서 호출 되는 경우 XPathNavigator 개체는 처음에 메서드가 호출 된 노드에 배치 됩니다.If the CreateNavigator method is called from an XmlNode object, the XPathNavigator object is initially positioned on the node from which the method was called. CreateNavigator 메서드가 XPathDocument 개체 또는 XmlDocument 개체에서 호출 되는 경우 XPathNavigator 개체는 문서의 루트에 배치 됩니다.If the CreateNavigator method is called from an XPathDocument object or an XmlDocument object, the XPathNavigator object is positioned on the root of the document.

적용 대상

추가 정보