TResourceFile.Put

Set a resource by key name.

Declaration

Source position: objects.pp line 545

default 
  procedure Put(Item: PObject; Key: string);

Description

Put sets the resource identified by Key to Item. If no such resource exists, a new one is created. The item is written to the stream.

Errors

Errors returned may be those by TStream.Put and TStream.Seek

See also

Name Description
Get Return a resource by key name.