MoveToNamespace Method

XPathNavigator.MoveToNamespace Method

Moves the XPathNavigator to the namespace node with the specified namespace prefix.

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

public virtual bool MoveToNamespace(
	string name
)

Parameters

name
Type: System.String
The namespace prefix of the namespace node.

Return Value

Type: System.Boolean
true if the XPathNavigator is successful moving to the specified namespace; false if a matching namespace node was not found, or if the XPathNavigator is not positioned on an element node. If false, the position of the XPathNavigator is unchanged.

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.

Aggiunte alla community

AGGIUNGI
Mostra:
© 2016 Microsoft