IAppointmentLabelStorage.CreateNewLabel(Object, String) Method

Creates a new label with the specified name and identifier.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v20.1.Core.dll

Declaration

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

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