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


ILocatorWorkspace Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IL > ILocatorWorkspace Interface
ArcGIS Developer Help

ILocatorWorkspace Interface

Provides access to members for managing the locators in the locator workspace. Note: the ILocatorWorkspace interface has been superseded by ILocatorWorkspace2. Please consider using the more recent version.

Product Availability

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

When To Use

Use the ILocatorWorkspace interface to manage the locators and locator styles in the locator workspace. You can use this interface to retrieve locators and locator styles from the locator workspace, as well as create, modify, and delete locators in the locator workspace.

Members

Name Description
Method AddLocator Adds a locator to the locator workspace.
Method AddLocatorStyle Adds a locator style.
Method CopyLocator Copies a locator.
Method DeleteLocator Deletes a locator.
Method GetLocator Gets a locator.
Method GetLocatorName Gets a LocatorName object.
Method GetLocatorStyle Gets a locator style.
Read-only property LocatorNames LocatorName objects in the locator workspace.
Read-only property Locators Locators in the locator workspace.
Read-only property Name The Name object for the locator workspace.
Method RenameLocator Renames a locator.
Method UpdateLocator Modifies the properties of a locator.

Classes that implement ILocatorWorkspace

Classes Description
AGSLocatorWorkspace (esriLocation) A locator workspace that exposes geocoding services from an ArcGIS Server.
DatabaseLocatorWorkspace (esriLocation) A locator workspace that stores locators in a Geodatabase.
LocalLocatorWorkspace (esriLocation) A locator workspace that stores locators in a file system.

Remarks

For some of the members of this interface, you must specify a Category string parameter. You can use categories to organize your locators and locator styles. All of the locators and locator styles provided with ArcGIS have a category of �Address�.

See Also

ILocatorWorkspace2 Interface | ILocatorWorkspace Interface | ILocatorWorkspaceName Interface | LocatorEnumerator Class | LocatorWorkspaceName Class | ILocatorWorkspaceName2 Interface | ILocatorManager Interface | LocalLocatorWorkspace Class | DatabaseLocatorWorkspace Class | IDatabaseLocatorWorkspace Interface | ILocatorManager2 Interface | LocatorManager Class | ILocatorManager.GetLocatorWorkspaceFromPath Method

.NET Samples

Find the closest intersection from a point Find an address Single line address geocoding