This document is archived and information here might be outdated.  Recommended version.


IEnumReferenceDataIndex.Reset Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Location > ESRI.ArcGIS.Location > Interfaces > IE > IEnumReferenceDataIndex Interface > IEnumReferenceDataIndex.Reset Method
ArcGIS Developer Help

IEnumReferenceDataIndex.Reset Method

Resets the enumeration.

[Visual Basic .NET]
Public Sub Reset ( _
)
[C#]
public void Reset (
);
[C++]
HRESULT Reset(
void
);

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

The Reset method resets the ReferenceDataIndexEnumerator so that the Next method returns the first ReferenceDataIndex from the enumerator.

Remarks

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.

See Also

IEnumReferenceDataIndex Interface