MindFusion.Scheduling for ASP.NET Programmer's Guide
Recurrence.SaveTo Method (BinaryWriter, BinarySerializationContext)
See Also
 





Saves the recurrence data to a binary stream.

Namespace: MindFusion.Scheduling
Assembly: MindFusion.Scheduling.WebForms

 Syntax

C#  Copy Code

public void SaveTo (
    BinaryWriter writer,
    BinarySerializationContext context
)

Visual Basic  Copy Code

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

 Parameters

writer
Type: BinaryWriter
An instance of the System.IO.BinaryWriter class that allows writing primitive data types to the binary stream.
context
Type: BinarySerializationContext
An instance of the BinarySerializationContext class that 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 recurrence properties as bytes in a binary stream. Use the LoadFrom method to restore the recurrence.

 See Also

SaveTo Method Overload List
Recurrence Members
Recurrence Class
MindFusion.Scheduling Namespace