Implements for the IEnumerable, Supports a simple iteration over a non-generic collection. (这个迭代器对象主要是用在远程数据源之中的,对于本地的数据源而言,使用这个迭代器的效率太低了,但是对于远程数据源而言,由于存在网络延迟,所以这个迭代器的效率影响将可以被忽略不计)
Iterator
01 Syntax
Microsoft.VisualBasic.ComponentModel.DataSourceModel.Iterator
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| GetEnumerator | 1 | Exposes an enumerator, which supports a simple iteration over a non-generic collection.To browse the .NET Framework source code for this type, see the Reference Source. |
| Read | 1 | Returns current and then automatically move to next position |
| Reset | 1 | Sets the enumerator to its initial position, which is before the first element in the collection. |
| MoveNext | 1 | Advances the enumerator to the next element of the collection. |
| Dispose | 1 |
03 Properties
04 Members
GetEnumerator
Exposes an enumerator, which supports a simple iteration over a non-generic collection.To browse the .NET Framework source code for this type, see the Reference Source.
Read
Returns current and then automatically move to next position
Reset
Sets the enumerator to its initial position, which is before the first element in the collection.
MoveNext
Advances the enumerator to the next element of the collection.
Returns
true if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection.
Current
Gets the current element in the collection.
ReadDone
Indicates that there are no more characters in the string and tokenizer is finished.
Dispose()