Search
Appointment.SaveTo Method (BinaryWriter, BinarySerializationContext)
See Also
 





Saves the appointment data to a binary stream.

Namespace: MindFusion.Scheduling
Assembly: MindFusion.Scheduling

 Syntax

C#  Copy Code

public override void SaveTo (
    BinaryWriter writer,
    BinarySerializationContext context
)

Visual Basic  Copy Code

Public Overrides Sub SaveTo ( _
    writer As BinaryWriter, _
    context As BinarySerializationContext _
)

 Parameters

writer

Allows writing primitive data types to a binary stream.

context

The context object contains the file format revision number of the schedule being loaded. It also provides methods that facilitate reading and writing various data types from and to the stream.

 Remarks

This method saves the appointment fields as bytes in a binary stream, from which they can be loaded later via the LoadFrom method.

 See Also