Skip to main content

ISchedulerColorSchemaCollection<T>.Add(Object) Method

Adds a color schema to the collection.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v23.2.Core.Desktop.dll

NuGet Package: DevExpress.Scheduler.CoreDesktop

Declaration

int Add(
    object value
)

Parameters

Name Type Description
value Object

An object that is the SchedulerColorSchema to add to the collection.

Returns

Type Description
Int32

An integer that is the index of a newly added object in the collection or -1 if the object was not added.

Remarks

The Add method adds an object to the collection if it is not already contained in it.

See Also