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


ILocatorExtension.Locator Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (LocationUI)  

ILocatorExtension.Locator Property

Locator in the ArcMap document.

[Visual Basic .NET]
Public Function get_Locator ( _
    ByVal category As String, _
    ByVal index As Integer _
) As ILocator
[C#]
public ILocator get_Locator (
    string category,
    int index
);

Product Availability

Available with ArcGIS Desktop.

Description

The Locator property returns a locator in a specific category.

Remarks

The Category parameter is the category of the locator that you want to retrieve from the LocatorExtension.

The Index parameter is an index to the locator that you want to retrieve.

See Also

ILocatorExtension Interface | ILocatorExtension.Categories Property | ILocatorWorkspace.GetLocator Method | ILocator Interface | ILocatorWorkspace.UpdateLocator Method | StreetMapAddressLocator Class | ESRIFDOAddressLocatorStyle Class | ESRIFDOAddressLocator Class | StreetMapAddressLocatorStyle Class | LocatorExtension Class | GxLocator Class