[Overview][Constants][Types][Classes][Procedures and functions][Variables] Reference for unit 'Objects' (#rtl)

TResourceFile.Get

Return a resource by key name.

Declaration

Source position: objects.pp line 507

function TResourceFile.Get(

  Key: String

):PObject;

Description

Getreturns a pointer to a instance of a resource identified by Key. If Keycannot be found in the list of resources, then Nilis returned.

Errors

Errors returned may be those by TStream.Get