| [Overview][Resource strings][Constants][Types][Classes][Index] | 
Removes a resource
Source position: resource.pp line 263
| public function TResources.Remove( | 
| aType: TResourceDesc; | 
| aName: TResourceDesc; | 
| const aLangID: TLangID | 
| ):TAbstractResource; overload; | 
| aType: TResourceDesc; | 
| aName: TResourceDesc | 
| ):TAbstractResource; overload; | 
| aResource: TAbstractResource | 
| ):TAbstractResource; overload; | 
| aIndex: Integer | 
| ):TAbstractResource; overload; | 
| aType | 
 | The type of the resource to search for | 
| aName | 
 | The name of the resource to search for | 
| aLangID | 
 | The language ID of the resource to search for | 
The removed resource
| aType | 
 | The type of the resource to search for | 
| aName | 
 | The name of the resource to search for | 
| aResource | 
 | The resource to remove | 
| aIndex | 
 | The index of the resource to remove | 
This method searches for a resource based on passed parameters and removes it from the object.
The removed resource is then returned.
If no matching resource is found, an EResourceNotFoundException exception is raised.
| 
 | Searches for a resource |