Skip to content

TAbstractResource.Name

The name of the resource

Declaration

Source position: resource.pp line 173

public property Name: TResourceDesc;

Description

Remark:

Please note that some TAbstractResource descendants don't allow resource name to be changed (e.g: a TStringTableResource name is determined by the range of strings' ID it contains). If it is the case, an EResourceDescChangeNotAllowedException exception is raised.

Moreover, if the resource is contained in a TResources object, name 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