A newer version of this page is available. Switch to the current version.

IResourceStorageBase.CreateResource(Object, String) Method

Creates a new resource with the specified ID and caption.

Namespace: DevExpress.XtraScheduler

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

Declaration

Resource CreateResource(
    object id,
    string caption
)
Function CreateResource(
    id As Object,
    caption As String
) As Resource

Parameters

Name Type Description
id Object

An object, that is a unique resource identifier.

caption String

A string that is displayed as resource's caption.

Returns

Type Description
Resource

A Resource object.

See Also