MessageBuffer.CreateNavigator Method

Definition

Creates a new XPathNavigator object for navigating this object.

Overloads

CreateNavigator()

Creates a new XPathNavigator object for navigating this object. This method cannot be inherited.

CreateNavigator(Int32)

Creates a new XPathNavigator object for navigating this object, with the navigator positioned on the node specified.

CreateNavigator(XmlSpace)

Creates a new XPathNavigator object for navigating this object, with the specified xml:space scope.

CreateNavigator(Int32, XmlSpace)

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

Remarks

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

CreateNavigator()

Creates a new XPathNavigator object for navigating this object. This method cannot be inherited.

C#
public System.Xml.XPath.XPathNavigator CreateNavigator();

Returns

An XPathNavigator object for navigating this object.

Implements

Remarks

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

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

CreateNavigator(Int32)

Creates a new XPathNavigator object for navigating this object, with the navigator positioned on the node specified.

C#
public System.Xml.XPath.XPathNavigator CreateNavigator(int nodeQuota);

Parameters

nodeQuota
Int32

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

Returns

An XPathNavigator object for navigating this object.

Remarks

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

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

CreateNavigator(XmlSpace)

Creates a new XPathNavigator object for navigating this object, with the specified xml:space scope.

C#
public System.Xml.XPath.XPathNavigator CreateNavigator(System.Xml.XmlSpace space);

Parameters

space
XmlSpace

A valid XmlSpace space.

Returns

An XPathNavigator object for navigating this object.

Remarks

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

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

CreateNavigator(Int32, XmlSpace)

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

C#
public System.Xml.XPath.XPathNavigator CreateNavigator(int nodeQuota, System.Xml.XmlSpace space);

Parameters

nodeQuota
Int32

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

space
XmlSpace

A valid XmlSpace space.

Returns

An XPathNavigator object for navigating this object.

Remarks

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

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1