TResourceCollection.KeyOf

Return the key of an item in the collection.

Declaration

Source position: objects.pp line 523

default 
  function 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.