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


LocalLocatorWorkspace Class (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Location)  

LocalLocatorWorkspace Class

A locator workspace that stores locators in a file system.

LocalLocatorWorkspace is a non-creatable object. References to non-creatable objects must be obtained through other objects.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Extended Error Information

Use the ISupportErrorInfo method InterfaceSupportsErrorInfo to determine if the object supports extended error information. If the object supports extended error info, VC++ developers should use the OLE/COM IErrorInfo interface to access the ErrorInfo object. Visual Basic developers should use the global error object Err to retrieve this extended error information.

Interfaces

Interfaces Description
ILocalLocatorWorkspace Provides access to members for inspecting a local locator workspace.
ILocatorAttach Provides access to members that attach locators to datasets.
ILocatorAttach2 Provides access to members that attach locators to datasets.
ILocatorWorkspace (esriGeoDatabase) Provides access to members for managing the locators in the locator workspace.
ISupportErrorInfo Indicates whether a specific interface can return Automation error objects.

Remarks

There are three types of locator workspaces in ArcGIS. DatabaseLocatorWorkspaces contain locators in a file, personal, or ArcSDE geodatabase. LocalLocatorWorkspaces contain locators on the local file system or on a shared network drive. AGSServerLocatorWorkspaces contain locators on an ArcGIS Server.

LocalLocatorWorkspaces are locator workspaces that reside on the local file system or in a shared network folder. These objects contain client-side locators and locator styles. Any folder in the file system can contain a locator workspace. The default locator workspace is the default location for all of the locator styles provided with ArcGIS for Desktop. By default, they are stored in the locator's folder under your ArcGIS installation folder. If you have address locators created with pre-9.2 ArcGIS, they may reside in your personal profile folder. The folder is in one of the following locations, depending on your operating system:

For Windows NT:

C:\WINNT\Profiles\<your username>\Application Data\ESRI\Locators\

For Windows 2000 and Windows XP:

C:\Documents and Settings\<your username>\Application Data\ESRI\Locators\

All LocalLocatorWorkspaces can store locators and locator styles. However, only the default LocalLocatorWorkspace initially contains the locator styles that are provided with ArcGIS for Desktop. To get a reference to the locator styles in the default LocalLocatorWorkspace and locators created in your personal profile folder, use the ILocatorManager::GetLocatorWorkspaceFromPath method using an empty string as a path.

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