Dela via


Appointment.AllDay Property

Definition

Gets or sets a Boolean value that indicates whether the appointment will last all day. The default is FALSE for won't last all day.

public:
 property bool AllDay { bool get(); void set(bool value); };
bool AllDay();

void AllDay(bool value);
public bool AllDay { get; set; }
var boolean = appointment.allDay;
appointment.allDay = boolean;
Public Property AllDay As Boolean

Property Value

Boolean

bool

A Boolean value that indicates whether the appointment will last all day. TRUE indicates that the appointment will last all day; otherwise FALSE.

Windows requirements

App capabilities
appointmentsSystem

Remarks

When creating an appointment with AllDay set to true, you should set the StartTime of the appointment to midnight (00:00:00).

Applies to