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

TResourceFile.Get

Return a resource by key name.

Declaration

Source position: objects.pp line 506

function TResourceFile.Get(

  Key: String

):PObject;

Description

Get returns a pointer to a instance of a resource identified by Key. If Key cannot be found in the list of resources, then Nil is returned.

Errors

Errors returned may be those by TStream.Get

The latest version of this document can be found at lazarus-ccr.sourceforge.net.