SPCalendarItem.IsAllDayEvent property
Gets or sets a Boolean value that indicates whether the calendar item is an all-day event.
Namespace: Microsoft.SharePoint.WebControls
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Property IsAllDayEvent As Boolean
Get
Set
'Usage
Dim instance As SPCalendarItem
Dim value As Boolean
value = instance.IsAllDayEvent
instance.IsAllDayEvent = value
public bool IsAllDayEvent { get; set; }
Property value
Type: System.Boolean
true if the calendar item is an all-day event; otherwise, false.