A newer version of this page is available.
Switch to the current version.
ISchedulerStorageBase.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.v18.2.Core.dll
Declaration
AppointmentDependency CreateAppointmentDependency(
object parentId,
object dependentId,
AppointmentDependencyType type
)
Function CreateAppointmentDependency(
parentId As Object,
dependentId As Object,
type As AppointmentDependencyType
) As AppointmentDependency
Parameters
Name | Type | Description |
---|---|---|
parentId | Object | An object that is the ID of the parent appointment. |
dependentId | Object | An object that is the ID of the dependent appointment. |
type | AppointmentDependencyType |
Returns
Type | Description |
---|---|
AppointmentDependency | An AppointmentDependency object. |
Remarks
TIP
To add a newly created dependency to the storage, use the IAppointmentDependencyStorage.Add method. You can change the way the dependencies are created by specifying a custom factory with the ISchedulerStorageBase.SetAppointmentDependencyFactory method.
See Also
Feedback