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


Contains methods that can help you serialize/deserialize MindFusion.Reporting reports 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

XmlDocument

Gets the underlying XML document.

 Public Methods

  Name Description

AddChildElement

Overloaded. Adds a new child node to a specified parent node.

ReadBool

Overloaded.  

ReadBorder

Reads a Border 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.

ReadDataSource

Reads a data source with the specified name.

ReadDateTime

Reads a DateTime object with the specified name.

ReadDecimal

Reads a decimal value with the specified name.

ReadDimension

Reads a Dimension 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 hash table object with the specified name.

ReadImage

Reads an Image object with the specified name.

ReadInt

Reads an integer value with the specified name.

ReadLocation

Reads a Location value with the specified name.

ReadLong

Reads a long value with the specified name.

ReadMargins

Reads a Margins 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.

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.

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.

WriteBorder

Writes a Border 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.

WriteDataSource

Writes the specified data source.

WriteDateTime

Writes the specified DateTime object.

WriteDecimal

Write a decimal value with the specified name.

WriteDimension

Writes a Dimension 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.

WriteLocation

Writes a Location value with the specified name.

WriteLong

Writes a long value with the specified name.

WriteMargins

Writes a Margins 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.

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.

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

DeserializeDataSource

Raised during deserialization to resolve report data sources based on the string identifiers previously specified through the SerializeDataSource event.

SerializeDataSource

Raised during serialization to map the data sources referenced inside the report with string identifiers.

 See Also

XmlSerializationContext Class
MindFusion.Reporting Namespace