Skip to main content

ResourceStorage.Add(Resource) Method

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

Namespace: DevExpress.Xpf.Scheduler

Assembly: DevExpress.Xpf.Scheduler.v24.1.dll

NuGet Package: DevExpress.Wpf.Scheduler

Declaration

public override int Add(
    Resource obj
)

Parameters

Name Type Description
obj 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

Important

You are viewing documentation for the legacy WPF Scheduler control. If you’re starting a new project, we strongly recommend that you use a new control declared in the DevExpress.Xpf.Scheduling namespace. If you decide to upgrade an existing project in order to switch to the updated scheduler control, see the Migration Guidelines document.

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

See Also