[Overview][Types][Classes][Index] |
Provided indexed access to the data for a hash item using its key value.
Source position: stringhashlist.pas line 69
public property TStringHashList.Data[S: string] : Pointer |
Data is an indexed Pointer property which provides access to the storage for a hash item by its key value. The untyped Pointer in the property values is arbitrary data associated with the key value, and must be cast to the type expected in an application.
The Find method is called when reading or writing a value in the property. Finds gets the position where the hash item is stored in List using the setting in the CaseSensitive property. If the value in S does not exist when reading a property value, Nil is returned. If the value in S does not exist when writing a property value, the Add method is called to create a new hash item in List with the key in S.
Data is the default property for the container, and the value used in an enumerator for the class instance.
|
Provides indexed access to the storage used in the container. |
|
|
Gets the ordinal position in List where the specified key (and data) are stored. |
|
|
Indicates if case sensitivity is used for hash item keys. |
|
|
Calculates the hash value for the specified String. |
|
|
Adds a hash item and optional data to the container. |
Version 4.0 | Generated 2025-05-03 | Home |