Skip to content

TAbstractResource._Type

The type of the resource

Declaration

Source position: resource.pp line 172

public property _Type: TResourceDesc;

Description

Remark:

Please note that some TAbstractResource descendants don't allow resource type to be changed (e.g: it's not possible for a TBitmapResource to have a type other than RT_BITMAP). If it is the case, an EResourceDescChangeNotAllowedException exception is raised.

Moreover, if the resource is contained in a TResources object, type change is not allowed.

See also

Name Description
TAbstractResource.ChangeDescTypeAllowed Reports whether changing the type of resource type or name is allowed
TAbstractResource.ChangeDescValueAllowed Reports whether changing the value of resource type or name is allowed