Skip to content

TFPHashObject.ChangeOwner

Change the list owning the object.

Declaration

Source position: contnrs.pp line 299

public 
procedure TFPHashObject.ChangeOwner(HashObjectList: TFPHashObjectList);

Description

ChangeOwner can be used to move the object between hash lists: The object will be removed correctly from the hash list that currently owns it, and will be inserted in the list HashObjectList.

Errors

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

See also

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