C# Class System.Xml.Xsl.Runtime.XmlNavNameFilter

Filters any non-element and any element with a non-matching local name or namespace uri.
Inheritance: XmlNavigatorFilter
Afficher le fichier Open project: gbarnett/shared-source-cli-2.0 Class Usage Examples

Méthodes publiques

Méthode Description
Create ( string localName, string namespaceUri ) : XmlNavigatorFilter

Return an XmlNavigatorFilter that skips over nodes that do not match the specified name.

IsFiltered ( XPathNavigator navigator ) : bool

Return false if the navigator is positioned on an element with a matching name.

MoveToContent ( XPathNavigator navigator ) : bool

Reposition the navigator on the first element child with a matching name.

MoveToFollowing ( XPathNavigator navigator, XPathNavigator navEnd ) : bool

Reposition the navigator on the next following element with a matching name.

MoveToFollowingSibling ( XPathNavigator navigator ) : bool

Reposition the navigator on the next element sibling with a matching name.

MoveToNextContent ( XPathNavigator navigator ) : bool

Reposition the navigator on the next element child with a matching name.

MoveToPreviousSibling ( XPathNavigator navigator ) : bool

Reposition the navigator on the previous element sibling with a matching name.

Private Methods

Méthode Description
XmlNavNameFilter ( string localName, string namespaceUri ) : System.Xml

Keep only elements with name = localName, namespaceUri.

Method Details

Create() public static méthode

Return an XmlNavigatorFilter that skips over nodes that do not match the specified name.
public static Create ( string localName, string namespaceUri ) : XmlNavigatorFilter
localName string
namespaceUri string
Résultat XmlNavigatorFilter

IsFiltered() public méthode

Return false if the navigator is positioned on an element with a matching name.
public IsFiltered ( XPathNavigator navigator ) : bool
navigator System.Xml.XPath.XPathNavigator
Résultat bool

MoveToContent() public méthode

Reposition the navigator on the first element child with a matching name.
public MoveToContent ( XPathNavigator navigator ) : bool
navigator System.Xml.XPath.XPathNavigator
Résultat bool

MoveToFollowing() public méthode

Reposition the navigator on the next following element with a matching name.
public MoveToFollowing ( XPathNavigator navigator, XPathNavigator navEnd ) : bool
navigator System.Xml.XPath.XPathNavigator
navEnd System.Xml.XPath.XPathNavigator
Résultat bool

MoveToFollowingSibling() public méthode

Reposition the navigator on the next element sibling with a matching name.
public MoveToFollowingSibling ( XPathNavigator navigator ) : bool
navigator System.Xml.XPath.XPathNavigator
Résultat bool

MoveToNextContent() public méthode

Reposition the navigator on the next element child with a matching name.
public MoveToNextContent ( XPathNavigator navigator ) : bool
navigator System.Xml.XPath.XPathNavigator
Résultat bool

MoveToPreviousSibling() public méthode

Reposition the navigator on the previous element sibling with a matching name.
public MoveToPreviousSibling ( XPathNavigator navigator ) : bool
navigator System.Xml.XPath.XPathNavigator
Résultat bool