Search
Resource.LoadFrom Method (BinaryReader, BinarySerializationContext)
See Also
 





Loads resource data from a binary stream.

Namespace: MindFusion.Scheduling
Assembly: MindFusion.Scheduling

 Syntax

C#  Copy Code

public virtual void LoadFrom (
    BinaryReader reader,
    BinarySerializationContext context
)

Visual Basic  Copy Code

Public Overridable Sub LoadFrom ( _
    reader As BinaryReader, _
    context As BinarySerializationContext _
)

 Parameters

reader

Allows reading primitive data types from 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 reader parameter wraps a stream that contains data by a previous call to the SaveTo method.

 See Also