Export (0) Print
Expand All

XPathNavigator.MoveToChild Method (String, String)

Note: This method is new in the .NET Framework version 2.0.

Moves the XPathNavigator to the child node with the local name and namespace URI specified.

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

public virtual bool MoveToChild (
	string localName,
	string namespaceURI
)
public boolean MoveToChild (
	String localName, 
	String namespaceURI
)
public function MoveToChild (
	localName : String, 
	namespaceURI : String
) : boolean

Parameters

localName

The local name of the child node to move to.

namespaceURI

The namespace URI of the child node to move to.

Return Value

Returns true if the XPathNavigator is successful moving to the child node; otherwise, false. If false, the position of the XPathNavigator is unchanged.

For an example of the MoveToChild method, see the AppendChild method.

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0

Community Additions

ADD
Show:
© 2014 Microsoft