System.Xml.XPathNodePointer.Clone C# (CSharp) Method

Clone() private method

private Clone ( DataDocumentXPathNavigator owner ) : XPathNodePointer
owner DataDocumentXPathNavigator
return XPathNodePointer
        internal XPathNodePointer Clone(DataDocumentXPathNavigator owner)
        {
            RealFoliate();
            return new XPathNodePointer(owner, this);
        }

Usage Example

示例#1
0
 private XmlNodeOrder CompareNamespacePosition(XPathNodePointer other)
 {
     XPathNodePointer xp1 = Clone((DataDocumentXPathNavigator)(_owner.Target));
     XPathNodePointer xp2 = other.Clone((DataDocumentXPathNavigator)(other._owner.Target));
     while (xp1.MoveToNextNamespace(XPathNamespaceScope.All))
     {
         if (xp1.IsSamePosition(other))
             return XmlNodeOrder.Before;
     }
     return XmlNodeOrder.After;
 }
All Usage Examples Of System.Xml.XPathNodePointer::Clone