Skip to main content

ISchedulerColorSchemaCollection<T>.Add(Object) Method

Adds a color schema to the collection.

Namespace: DevExpress.XtraScheduler

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

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