This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > LocationUI > ESRI.ArcGIS.LocationUI > Interfaces > IL > ILocatorExtension Interface > ILocatorExtension.CurrentLocator Property (ArcObjects .NET 10.5 SDK) |
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 );
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.
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