System.Xml.Xsl.Runtime.NodeKindContentIterator.Create C# (CSharp) Method

Create() public method

Initialize the NodeKindContentIterator.
public Create ( XPathNavigator context, XPathNodeType nodeType ) : void
context System.Xml.XPath.XPathNavigator
nodeType XPathNodeType
return void
        public void Create(XPathNavigator context, XPathNodeType nodeType) {
            Debug.Assert(nodeType != XPathNodeType.Attribute && nodeType != XPathNodeType.Namespace);
            this.navCurrent = XmlQueryRuntime.SyncToNavigator(this.navCurrent, context);
            this.nodeType = nodeType;
            this.needFirst = true;
        }
NodeKindContentIterator