Previous Topic: void* GetCBUserData(void);

Next Topic: CaRenamePath


HINT32 Execute(void)

Executes the RenameItem process on the Package currently selected using the Package Chooser and the itemname specified by the class methods. The item named by the set functions will produce new versions with the new name within this package.

Owning Class

CaRenameItem

Arguments

None

Return Value

HINT32

-0 If success.

-1 If it is a server side error, detailed information can be found in the log file if the log file is defined at the HSDK calling function.

-2 If item is not valid.

-3 If multiple matched items.

-4 If package set is not correct.

Example

CaRenameItem& rRenameItem = rContext.GetRenameItem();
HINT32 iResult = rRenameItem.Execute();

More information: