A newer version of this page is available. Switch to the current version.

IAppointmentLabelStorage.CreateNewLabel(Object, String) Method

Creates a new label with the specified name and identifier.

Namespace: DevExpress.XtraScheduler

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


IAppointmentLabel CreateNewLabel(
    object id,
    string displayName
Function CreateNewLabel(
    id As Object,
    displayName As String
) As IAppointmentLabel


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.


Type Description

An IAppointmentLabel object that is a new label.

See Also