Sign in Join
FPDoc Onlineexperiment

TFPHashObject.ChangeOwner procedure

Member of TFPHashObjectpublicIn unit Contnrs

Change the list owning the object.

Declaration

pascal
procedure ChangeOwner(HashObjectList: TFPHashObjectList)

Arguments

HashObjectList

Hash list in which to insert object.

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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.