Skip to main content
A newer version of this page is available. .

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.v19.1.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.

The following code snippets (auto-collected from DevExpress Examples) contain references to the Add(Object, String) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also