Unit 'Objects' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#rtl]

TResourceFile.Get

Return a resource by key name.

Declaration

Source position: objects.pp line 585

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


Documentation generated on: Dec 26 2024