Interface IEnumLocator

Namespace
ESRI.ArcGIS.Geodatabase
Assembly
ESRI.Server.Geodatabase.dll

Provides access to members for retrieving a set of locators.

[Guid("E0F10B78-EB7C-11D2-9F47-00C04F8ED1C4")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IEnumLocator

Remarks

 A LocatorEnumerator can be retrieved from a locator workspace using the ILocatorWorkspace::Locators property.

Properties

Count

Number of locators in the enumeration.

int Count { get; }

Property Value

int

Methods

Clone()

Creates a copy of the enumeration.

IEnumLocator Clone()

Returns

IEnumLocator

Remarks

The Clone method returns a copy of the locator enumeration.

Next()

Returns the next locator or locator style.

ILocator Next()

Returns

ILocator

Previous()

Returns the previous locator or locator style.

ILocator Previous()

Returns

ILocator

Reset()

Resets the enumeration.

void Reset()

Remarks

The Reset method resets the LocatorEnumerator so that the next call to the Next method returns the first locator in the LocatorEnumerator. The Reset method should always be called on a LocatorEnumerator immediately after retrieving it from a locator workspace.