Search
ComponentBase.SaveTo Method
See Also
 





Serializes the component to the specified writer.

Namespace: MindFusion.Diagramming.Components
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

protected virtual void SaveTo (
    BinaryWriter writer,
    PersistContext context
)

Visual Basic  Copy Code

Protected Overridable Sub SaveTo( _
    writer As BinaryWriter, _
    context As PersistContext _
)

 Parameters

writer
A BinaryWriter object the component's data should be written to.
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 serialized to a binary-format diagram file.

 See Also