NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

XmlNodeEnumerator.Current

The current element of this enumerator.

[Visual Basic]
Public ReadOnly Property Current As XmlNode
[C#]
public XmlNode Current {get;}
[C++]
public: __property XmlNode* get_Current();
[JScript]
public function get Current() : XmlNode;

Property Value

The current element of this enumerator. The value is null if the enumerator has not yet been advanced to the first element, or if the enumerator has moved past the last element.

Remarks

An application can perform operations on the current element of an XmlNodeEnumerator without disturbing the enumeration in progress. For example, if an application removes the current element from its parent, the enumerator will still correctly move to the next node when the MoveNext method is invoked.

See Also

XmlNodeEnumerator Structure | XmlNodeEnumerator Members | System.Xml Namespace | MoveNext