Version

CopiedAppointments Property

A read-only collection of the appointments that were copied as a result of the user pressing the Control key during the course of the drag operation, or null if no Appointments were copied during the course of the drag operation.
Syntax
'Declaration
 
Public ReadOnly Property CopiedAppointments As ReadOnlyAppointmentsCollection
public ReadOnlyAppointmentsCollection CopiedAppointments {get;}
Remarks

The CopiedAppointments collection returns a null reference when the HasCopies property returns false, so callers should either check the HasCopies property or check for a null reference before accessing the contents of the CopiedAppointments collection.

When the HasCopies property returns false, this property always returns null.

The CopiedAppointments property returns a read-only collection consisting of clones of the appointments that were dragged, with the same start and end times as the original appointments. The Appointments property, by contrast, returns the actual appointments that were dragged. For example, if an appointment is dragged from the current day to the following day, and the control key is pressed before the drag operation is completed, the Appointments property returns the same instance as the appointment that was dragged to the following day, and the CopiedAppointments property returns the one that belongs to the current day. When the drag operation is completed, the SelectedAppointments collection contains the same instance as the appointment that was dragged to the following day.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also