SelectDescendants Method (String, String, Boolean)
Collapse the table of content
Expand the table of content

XPathNavigator.SelectDescendants Method (String, String, Boolean)

Selects all the descendant nodes of the current node with the local name and namespace URI specified.

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

public virtual XPathNodeIterator SelectDescendants(
	string name,
	string namespaceURI,
	bool matchSelf
)

Parameters

name
Type: System.String
The local name of the descendant nodes.
namespaceURI
Type: System.String
The namespace URI of the descendant nodes.
matchSelf
Type: System.Boolean
true to include the context node in the selection; otherwise, false.

Return Value

Type: System.Xml.XPath.XPathNodeIterator
An XPathNodeIterator that contains the selected nodes.

Silverlight

Supported in: 5, 4

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2016 Microsoft