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


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

ILocatorExtension.CurrentLocator Property

Current locator in the ArcMap document of a specific category.

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

Product Availability

Available with ArcGIS Desktop.

Remarks

This property returns a long integer indicating the index of the current locator.

The Category property is the locator category for which you want to set the current locator on the LocatorExtension.

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

.NET Related Topics

LocationUI