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)
Available in Sandboxed Solutions: No
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.