MindFusion WinForms Programmer's Guide
Resource.SaveTo Method (BinaryWriter, BinarySerializationContext)
See Also
 





Saves the resource data to a binary stream.

Namespace: MindFusion.Scheduling
Assembly: MindFusion.Scheduling

 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

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

The fields of the resource are saved as bytes into a binary stream, from which they can be loaded later by calling LoadFrom.

 See Also

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