TcxSchedulerStorageResources.GetResourceNameByID(Variant) Method
Returns the display name of a stored resource by its unique identifier.
Declaration
function GetResourceNameByID(const AResource: Variant): string;
Parameters
Name | Type |
---|---|
AResource | Variant |
Returns
Type |
---|
string |
Remarks
Call this function to obtain the descriptive name of a resource by its identifier passed as the AResource parameter. The GetResourceNameByID function returns an empty string if there is no resource with the specified ID in the resource collection.
To obtain the display name of any specified resource regardless of its affiliation, call the GetResourceName function instead.
Note
Calling the GetResourceName or GetResourceNameByID function raises the OnGetResourceName event.
See Also