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
queryTypeesriLocatorQueryCategorystring
Property Value
Locators[esriLocatorQuery, string]
IEnumLocator Locators[esriLocatorQuery queryType, string Category] { get; }
Parameters
queryTypeesriLocatorQueryCategorystring
Property Value
Name
ILocatorWorkspaceName Name { get; }
Property Value
Methods
AddLocator(string, ILocator, string, ITrackCancel)
ILocator AddLocator(string Name, ILocator locator, string ConfigKeyword, ITrackCancel CancelTracker)
Parameters
NamestringlocatorILocatorConfigKeywordstringCancelTrackerITrackCancel
Returns
AddLocatorStyle(string, string, ILocatorStyle)
void AddLocatorStyle(string Name, string Category, ILocatorStyle locatorStyle)
Parameters
NamestringCategorystringlocatorStyleILocatorStyle
CopyLocator(string, string)
void CopyLocator(string srcName, string dstName)
Parameters
DeleteLocator(string)
void DeleteLocator(string Name)
Parameters
Namestring
GetLocator(string)
ILocator GetLocator(string Name)
Parameters
Namestring
Returns
GetLocatorName(string)
ILocatorName GetLocatorName(string Name)
Parameters
Namestring
Returns
GetLocatorStyle(string)
ILocatorStyle GetLocatorStyle(string Name)
Parameters
Namestring
Returns
RebuildLocator(string, ITrackCancel)
Rebuilds a locator.
void RebuildLocator(string Name, ITrackCancel CancelTracker)
Parameters
NamestringCancelTrackerITrackCancel
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
UpdateLocator(ILocator)
void UpdateLocator(ILocator locator)
Parameters
locatorILocator