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

显示文件 Open project: gbarnett/shared-source-cli-2.0 Class Usage Examples

Public Methods

Method Description
Create ( XPathNavigator context, XmlNavigatorFilter filter, bool orSelf ) : void

Initialize the AncestorIterator.

MoveNext ( ) : bool

Position the iterator on the next matching ancestor node. Return true if such a node exists and set Current property. Otherwise, return false (Current property is undefined).

Method Details

Create() public method

Initialize the AncestorIterator.
public Create ( XPathNavigator context, XmlNavigatorFilter filter, bool orSelf ) : void
context System.Xml.XPath.XPathNavigator
filter XmlNavigatorFilter
orSelf bool
return void

MoveNext() public method

Position the iterator on the next matching ancestor node. Return true if such a node exists and set Current property. Otherwise, return false (Current property is undefined).
public MoveNext ( ) : bool
return bool