Unit 'Contnrs' Package
[Overview][Constants][Types][Classes][Procedures and functions][Index] [#fcl]

TFPDataHashTable.Add

Add a data pointer to the list.

Declaration

Source position: contnrs.pp line 441

public procedure TFPDataHashTable.Add(

  const aKey: AnsiString;

  AItem: pointer

); virtual;

Arguments

aKey

  

Key to insert in the hash table.

AItem

  

Data pointer associated with AKey.

Description

Add adds a data pointer (AItem) to the list with key AKey.

Errors

If AKey already exists in the table, an exception is raised.

See also

TFPDataHashTable.Items

  

Key-based access to the items in the table.


Documentation generated on: Dec 22 2024