XPathNavigator.SelectChildren 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
선택 조건과 일치하는 현재 노드의 모든 자식 노드를 선택합니다.
오버로드
| 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상태에 영향을 주지 않습니다.
추가 정보
- SelectAncestors(XPathNodeType, Boolean)
- SelectDescendants(XPathNodeType, Boolean)
- Select(XPathExpression)
적용 대상
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상태에 영향을 주지 않습니다.
추가 정보
- SelectAncestors(XPathNodeType, Boolean)
- SelectDescendants(XPathNodeType, Boolean)
- Select(XPathExpression)