Skip to main content
A newer version of this page is available. .

ISchedulerColorSchemaCollection<T>.Add(Object) Method

Adds a color schema to the collection.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v19.1.Core.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