ArcObjects Library Reference (GeoDatabase)  

ILocatorWorkspace.GetLocatorStyle Method

Gets a locator style.

[Visual Basic .NET]
Public Function GetLocatorStyle ( _
    ByVal Name As String _
) As ILocatorStyle
[C#]
public ILocatorStyle GetLocatorStyle (
    string Name
);
[C++]
HRESULT GetLocatorStyle(
  BSTR Name,
  ILocatorStyle** aLocatorStyle
);
[C++]

Parameters

Name [in]   Name is a parameter of type BSTR aLocatorStyle [out, retval]

  aLocatorStyle is a parameter of type ILocatorStyle

Product Availability

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

Description

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

Remarks

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 | ILocatorWorkspace.GetLocatorStyle Method | ILocatorStyle Interface | ESRIFDOAddressLocatorStyle Class | StreetMapAddressLocatorStyle Class