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


ILocatorUI2.RepairLocator Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IL > ILocatorUI2 Interface > ILocatorUI2.RepairLocator Method
ArcGIS Developer Help

ILocatorUI2.RepairLocator Method

Opens the user interface to repair a locator.

[Visual Basic .NET]
Public Function RepairLocator ( _
    ByVal parentWindow As Integer, _
    ByVal locator As ILocator, _
    ByVal Title As String _
) As Boolean
[C#]
public bool RepairLocator (
    int parentWindow,
    ILocator locator,
    string Title
);
[C++]
HRESULT RepairLocator(
  OLE_HANDLE parentWindow,
  ILocator* locator,
  BSTR Title
);
[C++]
Parameters
parentWindow [in]

parentWindow is a parameter of type OLE_HANDLE locator [in]
locator is a parameter of type ILocator* Title [in]
Title is a parameter of type BSTR

Product Availability

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

Remarks

The RepairLocator method displays the user interface for repairing locator. This method creates a new locator in the locator workspace specified, and returns a reference to the locator. If the user commits the changes to the locator using the user interface, this method returns a value of True. Otherwise, it returns a value of False.

The parentWindow parameter is a long integer value containing the handle to the parent window for the user interface. The user interface appears modally on top of this window.

The Locator parameter is a reference to the locator whose properties you want to modify using the user interface.

See Also

ILocatorUI2 Interface