This document is archived and information here might be outdated. Recommended version. |
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
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.