Version

GetOriginalEnumerator Method

Returns the original enumerator of the records in the data source.
Syntax
'Declaration
 
Public Overridable Function GetOriginalEnumerator() As IEnumerator
public virtual IEnumerator GetOriginalEnumerator()

Return Value

The original enumerator of the records in the data source.
Remarks
The method can be used to get original enumerator and do a quick walk through of the data records without invloving more complicated mechanism of data management implemented by the DataRecordCollection object. The order of records in the enumerator always corresponds to the order of records in the original data source. Using the enumerator returned by this method will help to improve performance and save memory.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also