GetEnumerator Method
See Also 
SourceCode.SmartObjects.Client Namespace > SmartObjectReader Class : GetEnumerator Method



Glossary Item Box

Returns an System.Collections.IEnumerator that can be used to iterate through the rows in the data reader.

Syntax

Visual Basic (Declaration) 
Public Overrides Function GetEnumerator() As IEnumerator
Visual Basic (Usage)Copy Code
Dim instance As SmartObjectReader
Dim value As IEnumerator
 
value = instance.GetEnumerator()
C# 
public override IEnumerator GetEnumerator()
C++/CLI 
public:
IEnumerator^ GetEnumerator(); override 

Return Value

An System.Collections.IEnumerator that can be used to iterate through the rows in the data reader.

Requirements

Target Platforms: 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