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


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

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

 Public Constructors

  Name Description

XmlSerializationContext

Overloaded. Initializes a new instance of the XmlSerializationContext 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.)

XmlDocument

Gets the underlying XML document.

 Public Methods

  Name Description

AddChildElement

Overloaded. Adds a new child node with the specified name to the specified parent node.

ReadBool

Overloaded. Reads a boolean value with the specified name.

ReadBrush

Reads a MindFusion.Drawing.Brush object with the specified name.

ReadByte

Reads a byte value with the specified name.

ReadChar

Reads a char value with the specified name.

ReadColor

Reads a color with the specified name.

ReadColorArray

Reads a color array with the specified name.

ReadCustomBrushes

Reads a CustomBrushes object with the specified name.

ReadDateTime

Reads a DateTime object with the specified name.

ReadDecimal

Reads a decimal value with the specified name.

ReadDouble

Reads a double value with the specified name.

ReadEnum

Reads an enum value with the specified name.

ReadFloat

Reads a float value with the specified name.

ReadFloatArray

Reads a float array with the specified name.

ReadFont

Reads a Font object with the specified name.

ReadHashtable

Reads a hashtable object with the specified name.

ReadImage

Reads an Image object with the specified name.

ReadInt

Reads an integer value with the specified name.

ReadLong

Reads a long value with the specified name.

ReadObject

Reads an object with the specified name.

ReadPen

Reads a MindFusion.Drawing.Pen object with the specified name.

ReadPointF

Reads a PointF object with the specified name.

ReadRectangleF

Reads a RectangleF object with the specified name.

ReadRecurrence

Reads a Recurrence object with the specified name.

ReadReminder

Reads a Reminder object with the specified name.

ReadSByte

Reads a 8-bit signed integer value with the specified name.

ReadShort

Reads a short value with the specified name.

ReadSizeF

Reads a SizeF object with the specified name.

ReadStream

Reads a stream with the specified name.

ReadString

Reads a string value with the specified name.

ReadStringFormat

Reads a StringFormat object with the specified name.

ReadStyle

Reads a Style object with the specified name.

ReadTag

Reads the specified tag for the specified object.

ReadUInt

Reads an unsigned integer value with the specified name.

ReadULong

Reads an unsigned long value with the specified name.

ReadUShort

Reads an unsigned short value with the specified name.

WriteBool

Writes a boolean value with the specified name.

WriteBrush

Writes a reference to the specified brush. The brush is registered within the internal hashtable for subsequent serialization.

WriteByte

Write a byte value with the specified name.

WriteChar

Write a char value with the specified name.

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 with the specified name.

WriteDouble

Writes a double value with the specified name.

WriteEnum

Writes the specified enum value.

WriteFloat

Writes a float value with the specified name.

WriteFloatArray

Writes the specified array.

WriteFont

Writes the specified font.

WriteHashtable

Writes the specified hashtable.

WriteImage

Writes a reference to the specified image. The image is registered within the internal hashtable for subsequent serialization.

WriteInt

Writes an integer value with the specified name.

WriteLong

Writes a long value with the specified name.

WriteObject

Writes the specified object under the specified name.

WritePen

Writes the specified pen.

WritePointF

Writes a PointF with the specified name.

WriteRectangleF

Writes a RectangleF with the specified name.

WriteRecurrence

Writes the specified Recurrence object.

WriteReminder

Writes the specified Reminder object.

WriteSByte

Write a 8-bit signed integer value with the specified name.

WriteShort

Writes a short value with the specified name.

WriteSizeF

Writes a SizeF with the specified name.

WriteStream

Writes the specified stream.

WriteString

Writes a string value with the specified name.

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 with the specified name.

WriteULong

Writes an unsigned long value with the specified name.

WriteUShort

Writes an unsigned short value with the specified name.

 Public Events

  Name Description

Completed

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

 See Also

XmlSerializationContext Class
MindFusion.Scheduling Namespace