Version

Save(Boolean,Boolean) Method

Returns a byte array containing the serialized object graph of this Task.
Syntax
'Declaration
 
Public Overloads Function Save( _
   ByVal serializeDatesAsUniversalTime As Boolean, _
   ByVal forDataBinding As Boolean _
) As Byte()

Parameters

serializeDatesAsUniversalTime
Specifies whether date properties should be serialized in Coordinated Universal Time (UTC).
forDataBinding
Specifies whether the data is formatted for use with the TasksDataBinding.

Return Value

Returns a byte array contained the serialized information for the Task
Remarks

When forDataBinding is set to true, only the identifiers of each task in the Tasks collection are serialized. This is to prevent data redundancy, i.e., since that same information might already be serialized elsewhere in the stream, serializing it again would result in unnecessary expansion of the size of the stream. Because only the identifiers are serialized, the entire contents of the UltraCalendarInfo's Tasks collection must be serialized to the same store in order for these associations to be maintained.

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