| [Overview][Resource strings][Constants][Types][Classes][Index] | 
Searches for a resource
Source position: resource.pp line 251
public function TResources.Find(  | 
aType: TResourceDesc;  | 
aName: TResourceDesc;  | 
const aLangID: TLangID  | 
):TAbstractResource; overload;  | 
aType: TResourceDesc;  | 
aName: TResourceDesc  | 
):TAbstractResource; overload;  | 
const aType: TResName;  | 
const aName: TResName;  | 
const aLangID: TLangID  | 
):TAbstractResource; overload;  | 
const aType: TResName;  | 
const aName: TResID;  | 
const aLangID: TLangID  | 
):TAbstractResource; overload;  | 
const aType: TResID;  | 
const aName: TResName;  | 
const aLangID: TLangID  | 
):TAbstractResource; overload;  | 
const aType: TResID;  | 
const aName: TResID;  | 
const aLangID: TLangID  | 
):TAbstractResource; overload;  | 
const aType: TResName;  | 
const aName: TResName  | 
):TAbstractResource; overload;  | 
const aType: TResName;  | 
const aName: TResID  | 
):TAbstractResource; overload;  | 
const aType: TResID;  | 
const aName: TResName  | 
):TAbstractResource; overload;  | 
const aType: TResID;  | 
const aName: TResID  | 
):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 resource that matches the search criteria
aType  | 
  | 
The type of the resource to search for  | 
aName  | 
  | 
The name of the resource to search for  | 
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  | 
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  | 
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  | 
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  | 
aType  | 
  | 
The type of the resource to search for  | 
aName  | 
  | 
The name of the resource to search for  | 
aType  | 
  | 
The type of the resource to search for  | 
aName  | 
  | 
The name of the resource to search for  | 
aType  | 
  | 
The type of the resource to search for  | 
aName  | 
  | 
The name of the resource to search for  | 
aType  | 
  | 
The type of the resource to search for  | 
aName  | 
  | 
The name of the resource to search for  | 
This method searches for a resource with the given type and name. If a language ID is not provided, the first resource found that matches aType and aName is returned.
If the resource is not found, an EResourceNotFoundException exception is raised.