Search
ComponentBase.LoadFrom Method
See Also
 





Deserializes the component from the specified reader.

Namespace: MindFusion.Diagramming.Components
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

protected virtual void LoadFrom (
    BinaryReader reader,
    PersistContext context
)

Visual Basic  Copy Code

Protected Overridable Sub LoadFrom( _
    reader As BinaryReader, _
    context As PersistContext _
)

 Parameters

reader
A BinaryReader object from which to read the component's data.
context
A PersistContext object providing contextual information about the serialization process and some helper serialization methods.

 Remarks

This method is invoked when a CompositeNode is being deserialized from a diagram file saved in a binary format.

 See Also