Skip to content

TResourceCollection.KeyOf

Return the key of an item in the collection.

Declaration

Source position: objects.pp line 567

function TResourceCollection.KeyOf(Item: Pointer) : Pointer;  virtual;

Description

KeyOf returns the key of an item in the collection. For resources, the key is a pointer to the string with the resource name.

Errors

None.

See also

Name Description
TStringCollection.Compare Compare two strings in the collection.