ArcGIS Developer Help  (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 an ArcSDE database. 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 local locator workspace resides in your personal profile folder and is represented by the top-level Address Locators folder in ArcCatalog. This locator workspace is the default location for all of the locators that you create using ArcCatalog and contains all of the locator styles provided with ArcGIS Desktop. 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 Desktop. To get a reference to the default LocalLocatorWorkspace, use the ILocatorManager::GetLocatorWorkspaceFromPath method using an empty string as a path.

See Also

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

Example

Open LocalLocatorWorkspace Example

 


Feedback Send feedback on this page