Skip to main content

ISchedulerStorageBase.CreateResource(Object, String) Method

Creates a new resource with the specified ID and a caption.

Namespace: DevExpress.XtraScheduler

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

NuGet Package: DevExpress.Scheduler.Core

Declaration

Resource CreateResource(
    object resourceId,
    string resourceCaption
)

Parameters

Name Type Description
resourceId Object

An object that is the unique resource identifier.

resourceCaption String

A string that is the resource caption accessible using the Resource.Caption property.

Returns

Type Description
Resource

A Resource object.

See Also