Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxSchedulerStorageResources.GetResourceNameByID(Variant) Method

Returns the display name of a stored resource by its unique identifier.

#Declaration

Delphi
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