System.Xml.XmlElementList.GetNextNode C# (CSharp) Méthode

GetNextNode() public méthode

public GetNextNode ( XmlNode n ) : XmlNode
n XmlNode
Résultat XmlNode
        public XmlNode GetNextNode( XmlNode n ) {
            if( this.empty == true )
                return null;
            XmlNode node = ( n == null ) ? rootNode : n;
            return GetMatchingNode( node, true );
        }

Usage Example

Exemple #1
0
 public bool MoveNext()
 {
     if (_list.ChangeCount != _changeCount)
     {
         //the number mismatch, there is new change(s) happened since last MoveNext() is called.
         throw new InvalidOperationException(SR.Xdom_Enum_ElementList);
     }
     else
     {
         _curElem = _list.GetNextNode(_curElem);
     }
     return(_curElem != null);
 }
All Usage Examples Of System.Xml.XmlElementList::GetNextNode