System.Xml.Xsl.Runtime.XmlQueryOutput.EndCopy C# (CSharp) Method

EndCopy() public method

End shallow copy of the navigator's current node. Should be called only for Element and Document nodes.
public EndCopy ( XPathNavigator navigator ) : void
navigator System.Xml.XPath.XPathNavigator
return void
        public void EndCopy(XPathNavigator navigator) {
            if (navigator.NodeType == XPathNodeType.Element)
                WriteEndElement();
            else
                Debug.Assert(navigator.NodeType == XPathNodeType.Root, "EndCopy should only be called for Element and Document nodes.");
        }

Same methods

XmlQueryOutput::EndCopy ( XPathNavigator navigator, bool callChk ) : void