Skip to main content
A newer version of this page is available. .

ISchedulerStorageBase.GetResourceById(Object) Method

Gets a resource contained in the storage by its ID value.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v19.1.Core.dll

Declaration

Resource GetResourceById(
    object resourceId
)

Parameters

Name Type Description
resourceId Object

A Object which is the resource ID.

Returns

Type Description
Resource

A Resource object whose PersistentObject.Id is equal to the specified resource ID. If no resource with the specified ID is found, then the empty resource (a resource with ID equal to the EmptyResourceId.Id value) will be returned.

See Also