Skip to content

TFPHashObject.Rename

Rename the object.

Declaration

Source position: contnrs.pp line 301

public 
procedure TFPHashObject.Rename(const ANewName: RawByteString);

Description

Rename changes the name of the object, and notifies the hash list of this change.

Errors

If the new name already is present in the hash list, an exception will be raised.

See also

Name Description
ChangeOwner Change the list owning the object.
ChangeOwnerAndName Simultaneously change the list owning the object and the name of the object.
Name Current name of the object.