Version

Save(Stream,CalendarInfoCategories,Boolean) Method

Saves CalendarInfo data to a stream.
Syntax
'Declaration
 
Public Overloads Sub Save( _
   ByVal stream As Stream, _
   ByVal categories As CalendarInfoCategories, _
   ByVal serializeDatesAsUniversalTime As Boolean _
) 

Parameters

stream
Stream object into which to serialize a copy of the UltraCalendarInfo information.
categories
Enumeration of categories to serialize.
serializeDatesAsUniversalTime
If true will serialize appointment dates as universal time (GMT).
Remarks

Since the stream could contain other information, the stream should be positioned to the location where the UltraCalendarInfo should start serializing its information.

When you pass CalendarInfoCategories.General, the following property settings are saved:

  • AllowAllDayEvents
  • AllowRecurringAppointments
  • AppointmentActionsEnabled
  • FirstDayOfWeek
  • LogicalDayDuration
  • LogicalDayOffset
  • MaxDate
  • MaxSelectedDays
  • MinDate
  • SelectTypeActivity
  • SelectTypeDay
  • Tag
  • WeekRule
  • ReminderImage

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