IAppointmentDependencyStorage.CreateAppointmentDependency(Object, Object, AppointmentDependencyType) Method
Creates a dependency of the specified type between two appointments specified by their IDs.
Namespace: DevExpress.XtraScheduler
Assembly: DevExpress.XtraScheduler.v24.2.Core.dll
NuGet Package: DevExpress.Scheduler.Core
#Declaration
AppointmentDependency CreateAppointmentDependency(
object parentId,
object dependentId,
AppointmentDependencyType type
)
#Parameters
Name | Type | Description |
---|---|---|
parent |
Object | An object that is the ID of the parent appointment. |
dependent |
Object | An object that is the ID of the dependent appointment. |
type | Appointment |
A Appointment |
#Returns
Type | Description |
---|---|
Appointment |
An Appointment |
#Remarks
Tip
To add a newly created dependency to the storage, use the IAppointment