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

ResourceDataStorage.Add(Object, String) Method

Adds a new resource with the specific ID and caption.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v19.2.dll

Declaration

public Resource Add(
    object id,
    string caption
)

Parameters

Name Type Description
id Object

A Object that is the unique resource ID.

caption String

A String value that specifies the resource caption.

Returns

Type Description
Resource

A Resource object that is the created resource.

See Also