Skip to content

TResourceFile.Get

Return a resource by key name.

Declaration

Source position: objects.pp line 541

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