ILocatorWorkspace2 Interface

Provides access to members for managing the locators in the locator workspace.


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 RebuildLocator Rebuilds a locator.
Method RenameLocator Renames a locator.
Method UpdateLocator Modifies the properties of a locator.

ILocatorWorkspace2.RebuildLocator Method

Rebuilds a locator.

Public Sub RebuildLocator ( _
    ByVal Name As String, _
    ByVal CancelTracker As ITrackCancel _
public void RebuildLocator (
    string Name,
    ITrackCancel CancelTracker


The RebuildLocator method rebuilds a locator in a locator workspace.


The Name parameter is the name of the locator you want to rebuild in the locator workspace.

In ArcSDE workspaces, locator names are prefixed by the name of the ArcSDE user that owns the locator, as in "jack.My Locator". When you call methods in ArcObjects that have parameters that specify locators in a ArcSDE workspace, you must specify the full name of the locator, including the user name. Failing to do so will result in an error.

Inherited Interfaces

Interfaces Description
ILocatorWorkspace Provides access to members for managing the locators in the locator workspace.

Classes that implement ILocatorWorkspace2

Classes Description

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.