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





Saves the resource data to a binary stream.

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

 Syntax

C#  Copy Code

public virtual void SaveTo (
    BinaryWriter writer,
    BinarySerializationContext context
)

Visual Basic  Copy Code

Public Overridable 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 a 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

Call LoadFrom when you want to restore the Resource from the stream.

 See Also

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