ResourceCollection.Add(Object, String) Method

Creates resource with the specified ID and caption and adds it to the collection.

Namespace: DevExpress.XtraScheduler

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

Declaration

public int Add(
    object id,
    string caption
)

Parameters

Name Type Description
id Object

An object that is the resource identifier.

caption String

A string that will be used as a resource Resource.Caption.

Returns

Type Description
Int32

An integer that is the index of a newly added resource in the collection.

See Also