MessageBuffer.CreateNavigator Method (Int32, XmlSpace)


Creates a new XPathNavigator object for navigating this object, with the navigator positioned on the specified node and xml:space scope.

Namespace:   System.ServiceModel.Channels
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public XPathNavigator CreateNavigator(
	int nodeQuota,
	XmlSpace space


Type: System.Int32

The location you want the navigator to be positioned on initially.

Type: System.Xml.XmlSpace

A valid XmlSpace space.

Return Value

Type: System.Xml.XPath.XPathNavigator

An XPathNavigator object for navigating this object.

Use this method if you want to manipulate just a portion of the message copy.

.NET Framework
Available since 3.0
Return to top