AddPointer() private method

private AddPointer ( IXmlDataVirtualNode pointer ) : void
pointer IXmlDataVirtualNode
return void
示例#1
0
 internal void AddPointer() => _doc.AddPointer(this);
示例#2
0
        private XPathNodePointer(DataDocumentXPathNavigator owner, XmlDataDocument doc, XmlNode node, DataColumn c, bool bOnValue, XmlBoundElement parentOfNS)
        {
            Debug.Assert(owner != null);
            _owner = new WeakReference(owner);
            _doc = doc;
            _node = node;
            _column = c;
            _fOnValue = bOnValue;
            _parentOfNS = parentOfNS;

            // Add this pointer to the document so it will be updated each time region changes it's foliation state.
            _doc.AddPointer(this);
            _bNeedFoliate = false;
            AssertValid();
        }