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.v26.1.Core.dll
NuGet Package: DevExpress.Scheduler.Core
Declaration
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