Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

XPathNavigator::SelectChildren Method (XPathNodeType)

 

Selects all the child nodes of the current node that have the matching XPathNodeType.

Namespace:   System.Xml.XPath
Assembly:  System.Xml (in System.Xml.dll)

public:
virtual XPathNodeIterator^ SelectChildren(
	XPathNodeType type
)

Parameters

type
Type: System.Xml.XPath::XPathNodeType

The XPathNodeType of the child nodes.

Return Value

Type: System.Xml.XPath::XPathNodeIterator^

An XPathNodeIterator that contains the selected nodes.

The SelectChildren method has no effect on the state of the XPathNavigator.

For an example of selecting ancestor, child and descendant nodes, see SelectAncestors.

.NET Framework
Available since 1.1
Silverlight
Available since 4.0
Return to top
Show:
© 2017 Microsoft