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

ILocatorWorkspace.GetLocatorStyle Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IL > ILocatorWorkspace Interface > ILocatorWorkspace.GetLocatorStyle Method
ArcGIS Developer Help

ILocatorWorkspace.GetLocatorStyle Method

Gets a locator style.

[Visual Basic .NET]
Public Function GetLocatorStyle ( _
    ByVal Name As String _
) As ILocatorStyle
public ILocatorStyle GetLocatorStyle (
    string Name
HRESULT GetLocatorStyle(
  BSTR Name
Name [in]

Name is a parameter of type BSTR

Product Availability

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


The GetLocatorStyle method retrieves a locator style from a locator workspace.


The Name parameter is the name of the locator style that you want to retrieve from the locator workspace.

Within ArcSDE locator workspaces, locator style names are prefixed by the name of the SDE user that owns the locator style (usually the default SDE user), as in "SDE.US Streets with Zone". You must specify the SDE user as a part of the Name parameter when calling the GetLocatorStyle method on an ArcSDE locator workspace.

See Also

ILocatorWorkspace Interface | ILocatorStyle Interface | ILocatorWorkspace.GetLocatorStyle Method | ESRIFDOAddressLocatorStyle Class | StreetMapAddressLocatorStyle Class