ArcGIS Enterprise SDK
ILocatorWorkspace.AddLocatorStyle Method
ArcGIS Developer Help

ILocatorWorkspace.AddLocatorStyle Method

Adds a locator style.

[Visual Basic .NET]
Public Sub AddLocatorStyle ( _
    ByVal Name As String, _
    ByVal Category As String, _
    ByVal locatorStyle As ILocatorStyle _
)
[C#]
public void AddLocatorStyle (
    string Name,
    string Category,
    ILocatorStyle locatorStyle
);

Description

The AddLocatorStyle method adds the specified locator style to the locator workspace.

Note: This method is deprecated in versions of ArcGIS later than 9.3.1.

Remarks

In general, you will only use this method if you have created your own custom locator style and want to copy it from one locator workspace to another.

The Name parameter specifies the name for the new locator style.

The Category parameter is used to specify the category of the new locator style. Address locator styles provided with ArcGIS all have a category of "Address".

The LocatorStyle parameter is a reference to the locator style to add to the locator workspace.

See Also

ILocatorWorkspace Interface