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


ILocatorManager.GetLocatorWorkspaceFromPath Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Location > ESRI.ArcGIS.Location > Interfaces > IL > ILocatorManager Interface > ILocatorManager.GetLocatorWorkspaceFromPath Method
ArcGIS Developer Help

ILocatorManager.GetLocatorWorkspaceFromPath Method

Returns the locator workspace for a path.

[Visual Basic .NET]
Public Function GetLocatorWorkspaceFromPath ( _
    ByVal Path As String _
) As ILocatorWorkspace
[C#]
public ILocatorWorkspace GetLocatorWorkspaceFromPath (
    string Path
);
[C++]
HRESULT GetLocatorWorkspaceFromPath(
  BSTR Path
);
[C++]
Parameters
Path [in]

Path is a parameter of type BSTR

Product Availability

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

Remarks

The GetLocatorWorkspaceFromPath method returns a LocalLocatorWorkspace for the given Path. To open the default local locator workspace (represented by the top-level Address Locators folder in ArcCatalog), specify an empty string for the Path parameter.

See Also

ILocatorManager Interface | 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

.NET Samples

Single line address geocoding