MindFusion WinForms Programmer's Guide
BinarySerializationContext Members
Constructors Properties Methods Events
 


Contains methods that can help you serialize/deserialize MindFusion.Scheduling items to/from binary documents.

The following tables list the members exposed by the BinarySerializationContext type.

 Public Constructors

  Name Description

BinarySerializationContext

Overloaded. Initializes a new instance of the BinarySerializationContext class.

 Public Properties

  Name Description

ClassVersion

Gets the class version of the currently deserialized item.

FileVersion

Gets the format revision number of the file being loaded. (Inherited from SerializationContext.)

Schedule

Gets a reference to the schedule currently being serialized or deserialized. (Inherited from SerializationContext.)

 Public Methods

  Name Description

ReadBool

Reads a boolean value.

ReadBrush

Reads a MindFusion.Drawing.Brush object.

ReadByte

Reads a byte value.

ReadChar

Reads a char value.

ReadColor

Reads a color.

ReadColorArray

Reads a color array.

ReadCustomBrushes

Reads a CustomBrushes object.

ReadDateTime

Reads a DateTime object.

ReadDecimal

Reads a decimal value.

ReadDouble

Reads a double value.

ReadEnum

Reads an enum value.

ReadFloat

Reads a float value with the specified name.

ReadFloatArray

Reads a float array.

ReadFont

Reads a Font object.

ReadHashtable

Reads a hashtable object.

ReadImage

Reads an Image object.

ReadInt

Reads an integer value.

ReadLong

Reads a long value.

ReadObject

Reads an object.

ReadPen

Reads a MindFusion.Drawing.Pen object.

ReadPointF

Reads a PointF object.

ReadRectangleF

Reads a RectangleF object.

ReadRecurrence

Reads a Recurrence object.

ReadReminder

Reads a Reminder object.

ReadSByte

Reads a 8-bit signed integer value.

ReadShort

Reads a short value.

ReadSizeF

Reads a SizeF object.

ReadStream

Reads a stream.

ReadString

Reads a string value.

ReadStringFormat

Reads a StringFormat object.

ReadStyle

Reads a Style object.

ReadTag

Reads a tag object for the specified object.

ReadUInt

Reads an unsigned integer value.

ReadULong

Reads an unsigned long value.

ReadUShort

Reads an unsigned short value.

WriteBool

Writes a boolean value.

WriteBrush

Writes a Brush object.

WriteByte

Write a byte value to the stream.

WriteChar

Write a char value to the stream.

WriteColor

Writes the specified color.

WriteColorArray

Writes the specified array.

WriteCustomBrushes

Writes the specified CustomBrushes object.

WriteDateTime

Writes the specified DateTime object.

WriteDecimal

Write a decimal value to the stream.

WriteDouble

Writes a double value.

WriteEnum

Writes the specified enum value.

WriteFloat

Writes a float value.

WriteFloatArray

Writes the specified array.

WriteFont

Writes the specified font.

WriteHashtable

Writes the specified hashtable.

WriteImage

Writes the specified image.

WriteInt

Writes an integer value.

WriteLong

Writes a long value.

WriteObject

Writes the specified object.

WritePen

Writes a Pen object.

WritePointF

Writes a PointF object.

WriteRectangleF

Writes a RectangleF object.

WriteRecurrence

Writes the specified Recurrence object.

WriteReminder

Writes the specified Reminder object.

WriteSByte

Write a 8-bit signed integer value to the stream.

WriteShort

Writes a short value.

WriteSizeF

Writes a SizeF object.

WriteStream

Writes the specified stream.

WriteString

Writes a string value.

WriteStringFormat

Writes the specified StringFormat object.

WriteStyle

Writes the specified Style object.

WriteTag

Writes the specified tag of the specified object.

WriteUInt

Writes an unsigned integer value.

WriteULong

Writes an unsigned long value.

WriteUShort

Writes an unsigned short value.

 Public Events

  Name Description

Completed

Raised when the serialization or deserialization has completed successfully. (Inherited from SerializationContext.)

 See Also

BinarySerializationContext Class
MindFusion.Scheduling Namespace