IMetabaseObjectDescriptor.UndoCheckOutEx

Syntax

UndoCheckOutEx(Var ResId: Integer): Boolean;

Parameters

ResId. The variable in which the error code will be placed.

Description

The UndoCheckOutEx method cancels the changes and returns the previous version of the object.

Comments

This method can be used if the object is added to version control system.

The dialog box of cancellation of object changes in local object file opens on calling the method. The method returns True if the cancellation was successful and return to the previous version of local object file was done. The error code is 0 in this case.

If the changes undo failed, the method returns False. An error code is stored in the ResId parameter.

See also:

IMetabaseObjectDescriptor