Interface ILocatorWorkspace2

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

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

[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("3238F288-F52C-45F0-A4C4-CB9E7D2488F2")]
public interface ILocatorWorkspace2 : ILocatorWorkspace

Properties

LocatorNames[esriLocatorQuery, string]

IEnumLocatorName LocatorNames[esriLocatorQuery queryType, string Category] { get; }

Parameters

queryType esriLocatorQuery
Category string

Property Value

IEnumLocatorName

Locators[esriLocatorQuery, string]

IEnumLocator Locators[esriLocatorQuery queryType, string Category] { get; }

Parameters

queryType esriLocatorQuery
Category string

Property Value

IEnumLocator

Name

ILocatorWorkspaceName Name { get; }

Property Value

ILocatorWorkspaceName

Methods

AddLocator(string, ILocator, string, ITrackCancel)

ILocator AddLocator(string Name, ILocator locator, string ConfigKeyword, ITrackCancel CancelTracker)

Parameters

Name string
locator ILocator
ConfigKeyword string
CancelTracker ITrackCancel

Returns

ILocator

AddLocatorStyle(string, string, ILocatorStyle)

void AddLocatorStyle(string Name, string Category, ILocatorStyle locatorStyle)

Parameters

Name string
Category string
locatorStyle ILocatorStyle

CopyLocator(string, string)

void CopyLocator(string srcName, string dstName)

Parameters

srcName string
dstName string

DeleteLocator(string)

void DeleteLocator(string Name)

Parameters

Name string

GetLocator(string)

ILocator GetLocator(string Name)

Parameters

Name string

Returns

ILocator

GetLocatorName(string)

ILocatorName GetLocatorName(string Name)

Parameters

Name string

Returns

ILocatorName

GetLocatorStyle(string)

ILocatorStyle GetLocatorStyle(string Name)

Parameters

Name string

Returns

ILocatorStyle

RebuildLocator(string, ITrackCancel)

Rebuilds a locator.

void RebuildLocator(string Name, ITrackCancel CancelTracker)

Parameters

Name string
CancelTracker ITrackCancel

Remarks

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.  

RenameLocator(string, string)

void RenameLocator(string oldName, string newName)

Parameters

oldName string
newName string

UpdateLocator(ILocator)

void UpdateLocator(ILocator locator)

Parameters

locator ILocator