XPathNavigator.SelectChildren 메서드

정의

선택 조건과 일치하는 현재 노드의 모든 자식 노드를 선택합니다.

오버로드

Name Description
SelectChildren(XPathNodeType)

일치하는 XPathNodeType현재 노드의 모든 자식 노드를 선택합니다.

SelectChildren(String, String)

로컬 이름 및 네임스페이스 URI가 지정된 현재 노드의 모든 자식 노드를 선택합니다.

SelectChildren(XPathNodeType)

Source:
XPathNavigator.cs
Source:
XPathNavigator.cs
Source:
XPathNavigator.cs
Source:
XPathNavigator.cs
Source:
XPathNavigator.cs

일치하는 XPathNodeType현재 노드의 모든 자식 노드를 선택합니다.

public:
 virtual System::Xml::XPath::XPathNodeIterator ^ SelectChildren(System::Xml::XPath::XPathNodeType type);
public virtual System.Xml.XPath.XPathNodeIterator SelectChildren(System.Xml.XPath.XPathNodeType type);
abstract member SelectChildren : System.Xml.XPath.XPathNodeType -> System.Xml.XPath.XPathNodeIterator
override this.SelectChildren : System.Xml.XPath.XPathNodeType -> System.Xml.XPath.XPathNodeIterator
Public Overridable Function SelectChildren (type As XPathNodeType) As XPathNodeIterator

매개 변수

type
XPathNodeType

XPathNodeType 자식 노드의 노드입니다.

반품

XPathNodeIterator 선택한 노드를 포함하는 노드입니다.

예제

상위 노드, 자식 및 하위 노드를 선택하는 예제는 다음을 참조하세요 SelectAncestors.

설명

메서드는 SelectChildren .의 XPathNavigator상태에 영향을 주지 않습니다.

추가 정보

적용 대상

SelectChildren(String, String)

Source:
XPathNavigator.cs
Source:
XPathNavigator.cs
Source:
XPathNavigator.cs
Source:
XPathNavigator.cs
Source:
XPathNavigator.cs

로컬 이름 및 네임스페이스 URI가 지정된 현재 노드의 모든 자식 노드를 선택합니다.

public:
 virtual System::Xml::XPath::XPathNodeIterator ^ SelectChildren(System::String ^ name, System::String ^ namespaceURI);
public virtual System.Xml.XPath.XPathNodeIterator SelectChildren(string name, string namespaceURI);
abstract member SelectChildren : string * string -> System.Xml.XPath.XPathNodeIterator
override this.SelectChildren : string * string -> System.Xml.XPath.XPathNodeIterator
Public Overridable Function SelectChildren (name As String, namespaceURI As String) As XPathNodeIterator

매개 변수

name
String

자식 노드의 로컬 이름입니다.

namespaceURI
String

자식 노드의 네임스페이스 URI입니다.

반품

XPathNodeIterator 선택한 노드를 포함하는 노드입니다.

예외

null 을 매개 변수로 전달할 수 없습니다.

예제

상위 노드, 자식 및 하위 노드를 선택하는 예제는 다음을 참조하세요 SelectAncestors.

설명

매개 변수로 String.Empty 지정된 경우 name 지정된 네임스페이스 URI에 속하는 모든 자식 노드가 선택됩니다. 매개 변수로 String.Empty 지정된 경우 namespaceURI 네임스페이스가 없는 지정된 로컬 이름을 가진 모든 자식 노드가 선택됩니다. 로컬 이름 및 네임스페이스 URI 매개 변수가 모두 있는 String.Empty경우 네임스페이스에 속하지 않는 모든 자식 노드가 선택됩니다.

메서드는 SelectChildren .의 XPathNavigator상태에 영향을 주지 않습니다.

추가 정보

적용 대상