dbicDayView Send comments on this topic.
AppointmentConflict Method
See Also 
dbicDayView Assembly > Dbi.WinControl.DayView Namespace > dbiDayView Class : AppointmentConflict Method

objSrcAppoint
Source dbiAppointmentItem to check against the AppointmentCollection.
bSearchAll
True - Confine search to current column, False - Search all columns for conflicts.
Test for potential conflicts before an appointment is added to the Appointments collection.

Syntax

Visual Basic (Declaration) 
Public Function AppointmentConflict( _
   ByVal objSrcAppoint As dbiAppointmentItem, _
   ByVal bSearchAll As Boolean _
) As Integer
C# 
public int AppointmentConflict( 
   dbiAppointmentItem objSrcAppoint,
   bool bSearchAll
)

Parameters

objSrcAppoint
Source dbiAppointmentItem to check against the AppointmentCollection.
bSearchAll
True - Confine search to current column, False - Search all columns for conflicts.

Return Value

-1 if no conflicts found, otherwise the index value of the first appointment found in conflict.

Requirements

Target Platforms: Current Windows operating system with .NET 8.

See Also