TFPHashObjectList.Add function
Add a new key/data pair to the list.
Declaration
function Add(const AName: RawByteString; AObject: TObject): IntegerArguments
AName | Key name associated with object instance. |
AObject | object instance. |
Function result
Position of the new object in the list.
Description
Add adds a new object instance (
AObject) with key
AName to the list. It returns the position of the object
in the list.Errors
If not enough memory is available to hold the key and data, an exception may be raised. If an object with this name already exists in the list, an exception is raised.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
