Back to Devexpress

ISchedulerStorageBase.GetResourceById(Object) Method

corelibraries-devexpress-dot-xtrascheduler-dot-ischedulerstoragebase-dot-getresourcebyid-x28-system-dot-object-x29.md

latest1.8 KB
Original Source

ISchedulerStorageBase.GetResourceById(Object) Method

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

Namespace : DevExpress.XtraScheduler

Assembly : DevExpress.XtraScheduler.v25.2.Core.dll

NuGet Package : DevExpress.Scheduler.Core

Declaration

csharp
Resource GetResourceById(
    object resourceId
)
vb
Function GetResourceById(
    resourceId As Object
) As Resource

Parameters

NameTypeDescription
resourceIdObject

A Object which is the resource ID.

|

Returns

TypeDescription
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

ISchedulerStorageBase Interface

ISchedulerStorageBase Members

DevExpress.XtraScheduler Namespace