Version

SetEnabled(CalendarInfoEventGroups,Boolean) Method

Enables or disables all the events associated with the specified group.
Syntax
'Declaration
 
Public Overloads Sub SetEnabled( _
   ByVal group As CalendarInfoEventGroups, _
   ByVal enabled As Boolean _
) 
public void SetEnabled( 
   CalendarInfoEventGroups group,
   bool enabled
)

Parameters

group
An enum identifying the group to modify.
enabled
The new enabled state of the group of events.
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