Search
BinarySerializer.Serialize Method
See Also
 





Serializes the specified property value to the provided writer.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

void Serialize (
    BinaryWriter writer,
    string propertyName,
    Object propertyValue,
    Object owner
)

Visual Basic  Copy Code

Sub Serialize( _
    writer As BinaryWriter, _
    propertyName As String, _
    propertyValue As Object, _
    owner As Object _
)

 Parameters

writer

A System.IO.BinaryWriter instance used to write to the binary stream.

propertyName

The name of property being serialized, e.g. Tag or Id.

propertyValue

The property value.

owner

The DiagramItem whose property is being serialized, or a Control instance when serializing ControlNode.

 See Also