XmlNavigatorFilter Class

Definition

XmlNavigatorFilter provides a flexible filtering abstraction over XPathNavigator. Callers do not know what type of filtering will occur; they simply call MoveToContent(XPathNavigator) or MoveToFollowingSibling(XPathNavigator). The filter implementation invokes the appropriate operation on the XPathNavigator in order to skip over filtered nodes.

This API supports the product infrastructure and is not intended to be used directly from your code.

public ref class XmlNavigatorFilter abstract
public abstract class XmlNavigatorFilter
type XmlNavigatorFilter = class
Public MustInherit Class XmlNavigatorFilter
Inheritance
XmlNavigatorFilter

Constructors

XmlNavigatorFilter()

Provides a flexible filtering abstraction over XPathNavigator.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
IsFiltered(XPathNavigator)

Return true if the navigator's current node matches the filter condition.

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
MoveToContent(XPathNavigator)

Repositions the navigator to the first matching content node or attribute and skips over filtered nodes. If there are no matching nodes, the navigator does not move and the method returns false.

MoveToFollowing(XPathNavigator, XPathNavigator)

Repositions the navigator to the following matching content node or attribute and skips over filtered nodes. If there are no matching nodes, the navigator does not move and the method returns false.

MoveToFollowingSibling(XPathNavigator)

Repositions the navigator to the sibling matching content node or descendent and skips over filtered nodes. If there are no matching nodes, the navigator does not move and the method returns false.

MoveToNextContent(XPathNavigator)

Repositions the navigator to the next matching content node or attribute and skips over filtered nodes. If there are no matching nodes, the navigator does not move and the method returns false.

MoveToPreviousSibling(XPathNavigator)

Repositions the navigator to the previous matching sibling node and skips over filtered nodes. If there are no matching nodes, the navigator does not move and the method returns false.

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to