2 writes to _curNode
System.Data (2)
fx\src\data\System\NewXml\DataDocumentXPathNavigator.cs (2)
19
_curNode
= new XPathNodePointer( this, doc, node );
25
this.
_curNode
= other._curNode.Clone( this );
44 references to _curNode
System.Data (44)
fx\src\data\System\NewXml\DataDocumentXPathNavigator.cs (44)
25
this._curNode = other.
_curNode
.Clone( this );
33
internal XPathNodePointer CurNode { get { return
_curNode
; } }
37
public override XPathNodeType NodeType { get { return
_curNode
.NodeType; } }
39
public override string LocalName { get { return
_curNode
.LocalName; } }
41
public override string NamespaceURI { get { return
_curNode
.NamespaceURI; } }
43
public override string Name { get { return
_curNode
.Name; } }
45
public override string Prefix { get { return
_curNode
.Prefix; } }
49
XPathNodeType xnt =
_curNode
.NodeType;
51
return
_curNode
.InnerText;
52
return
_curNode
.Value;
56
public override String BaseURI { get { return
_curNode
.BaseURI; } }
58
public override String XmlLang { get { return
_curNode
.XmlLang; } }
60
public override bool IsEmptyElement { get { return
_curNode
.IsEmptyElement; } }
65
public override bool HasAttributes { get { return
_curNode
.AttributeCount > 0; } }
68
if (
_curNode
.NodeType != XPathNodeType.Element )
70
_temp.MoveTo(
_curNode
);
79
return
_curNode
.GetNamespace( name );
83
if (
_curNode
.NodeType != XPathNodeType.Element )
85
return
_curNode
.MoveToNamespace( name );
89
if (
_curNode
.NodeType != XPathNodeType.Element )
91
return
_curNode
.MoveToFirstNamespace(namespaceScope);
95
if (
_curNode
.NodeType != XPathNodeType.Namespace )
97
return
_curNode
.MoveToNextNamespace(namespaceScope);
102
if (
_curNode
.NodeType != XPathNodeType.Element )
104
return
_curNode
.MoveToAttribute( localName, namespaceURI );
108
if (
_curNode
.NodeType != XPathNodeType.Element )
110
return
_curNode
.MoveToNextAttribute(true);
114
if (
_curNode
.NodeType != XPathNodeType.Attribute )
116
return
_curNode
.MoveToNextAttribute(false);
122
if (
_curNode
.NodeType == XPathNodeType.Attribute )
124
return
_curNode
.MoveToNextSibling();
128
if (
_curNode
.NodeType == XPathNodeType.Attribute )
130
return
_curNode
.MoveToPreviousSibling();
134
if (
_curNode
.NodeType == XPathNodeType.Attribute )
136
return
_curNode
.MoveToFirst();
139
public override bool HasChildren { get { return
_curNode
.HasChildren; } }
142
return
_curNode
.MoveToFirstChild();
146
return
_curNode
.MoveToParent();
150
_curNode
.MoveToRoot();
158
if (
_curNode
.MoveTo( otherDataDocXPathNav.CurNode ) ) {
159
_doc =
_curNode
.Document;
178
if ( this._doc == otherDataDocXPathNav.Document && this.
_curNode
.IsSamePosition(otherDataDocXPathNav.CurNode) )
186
XmlNode IHasXmlNode.GetNode() { return
_curNode
.Node; }
197
return this.
_curNode
.ComparePosition( otherDataDocXPathNav.CurNode );