This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Location > ESRI.ArcGIS.Location > Interfaces > IE > IEnumReferenceDataIndex Interface > IEnumReferenceDataIndex.Reset Method (ArcObjects .NET 10.5 SDK) |
Resets the enumeration.
[Visual Basic .NET]
Public Sub Reset ( _
)
[C#] public void Reset ( );
[C++]
HRESULT Reset(
void
);
The Reset method resets the ReferenceDataIndexEnumerator so that the Next method returns the first ReferenceDataIndex from the enumerator.
You should use this method immediately after obtaining the ReferenceDataIndexEnumerator from the locator. You need to use this method before querying the Count property or calling the Next method.