C# Класс System.Xml.Xsl.Runtime.XmlNavNameFilter

Filters any non-element and any element with a non-matching local name or namespace uri.
Наследование: XmlNavigatorFilter
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
XmlNavNameFilter ( string localName, string namespaceUri ) : System.Xml

Keep only elements with name = localName, namespaceUri.

Описание методов

Create() публичный статический Метод

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
Результат XmlNavigatorFilter

IsFiltered() публичный Метод

Return false if the navigator is positioned on an element with a matching name.
public IsFiltered ( XPathNavigator navigator ) : bool
navigator System.Xml.XPath.XPathNavigator
Результат bool

MoveToContent() публичный Метод

Reposition the navigator on the first element child with a matching name.
public MoveToContent ( XPathNavigator navigator ) : bool
navigator System.Xml.XPath.XPathNavigator
Результат bool

MoveToFollowing() публичный Метод

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
Результат bool

MoveToFollowingSibling() публичный Метод

Reposition the navigator on the next element sibling with a matching name.
public MoveToFollowingSibling ( XPathNavigator navigator ) : bool
navigator System.Xml.XPath.XPathNavigator
Результат bool

MoveToNextContent() публичный Метод

Reposition the navigator on the next element child with a matching name.
public MoveToNextContent ( XPathNavigator navigator ) : bool
navigator System.Xml.XPath.XPathNavigator
Результат bool

MoveToPreviousSibling() публичный Метод

Reposition the navigator on the previous element sibling with a matching name.
public MoveToPreviousSibling ( XPathNavigator navigator ) : bool
navigator System.Xml.XPath.XPathNavigator
Результат bool