Skip to main content

IAppointmentLabelStorage.CreateNewLabel(Object, String) Method

Creates a new label with the specified name and identifier.

Namespace: DevExpress.XtraScheduler

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

NuGet Package: DevExpress.Scheduler.Core

Declaration

IAppointmentLabel CreateNewLabel(
    object id,
    string displayName
)

Parameters

Name Type Description
id Object

A Object that is the unique label identifier used in the Appointment.LabelId property.

displayName String

A string that is the name of a label to use in appointment label editors.

Returns

Type Description
IAppointmentLabel

An IAppointmentLabel object that is a new label.

See Also