ArcObjects Library Reference (GeoDatabase)  

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(
  long parentWindow,
  ILocator* locator,
  BSTR Title,
  VARIANT_BOOL* Ok
);
[C++]

Parameters

parentWindow [in]   parentWindow is a parameter of type long locator [in]

  locator is a parameter of type ILocator

Title [in]   Title is a parameter of type BSTR Ok [out, retval]   Ok is a parameter of type VARIANT_BOOL

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