Skip to main content

ResourceStorageBase.Add(Resource) Method

Appends the specified Resource object to the collection of resources in the storage.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v24.1.Core.Desktop.dll

NuGet Package: DevExpress.Scheduler.CoreDesktop

Declaration

public int Add(
    Resource resource
)

Parameters

Name Type Description
resource Resource

A Resource object to append to the collection.

Returns

Type Description
Int32

An integer value indicating the position into which the new element was inserted.

Remarks

This method appends a resource object to the ResourceCollection collection in the storage.

The following code snippets (auto-collected from DevExpress Examples) contain references to the Add(Resource) 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.

Implements

See Also