Charting for WinForms Programmer's Guide
XmlPersistContext Members
Constructors Fields Properties Methods
 


Contains methods that facilitate serializing and deserializing objects to and from XML documents.

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

 Public Constructors

  Name Description

XmlPersistContext

Initializes a new instance of the XmlPersistContext class.

 Public Fields

  Name Description

LatestFormat

Specifies the latest file format revision number.

 Public Properties

  Name Description

FileVersion

Gets the format revision number for the file being currently serialized.

IncludeUnalteredProperties

Gets or sets a value specifies whether properties that have their default value should be serialized to XML.

XmlDocument

Gets the underlying XML document.

 Public Methods

  Name Description

AddChildElement

Overloaded.  

ReadBool

Overloaded.  

ReadBrush

Overloaded.  

ReadBrushList

Overloaded.  

ReadByte

Reads a byte value with the specified name.

ReadChar

Reads a char value with the specified name.

ReadColor

Overloaded.  

ReadColorArray

Reads a color array with the specified name.

ReadDecimal

Reads a decimal value with the specified name.

ReadDouble

Overloaded.  

ReadDoubleList

Overloaded.  

ReadEnum

Overloaded.  

ReadFloat

Overloaded.  

ReadFloatArray

Reads a float array with the specified name.

ReadFont

Overloaded.  

ReadHashtable

Reads a hashtable with the specified name.

ReadImage

Reads an Image object with the specified name.

ReadInt

Overloaded.  

ReadLong

Reads a long value with the specified name.

ReadNullableDouble

Reads a nullable double value with the specified name.

ReadNullableEnum

Reads a nullable enum value with the specified name.

ReadObject

Reads an object with the specified name.

ReadPen

Overloaded.  

ReadPointF

Overloaded.  

ReadRectangleF

Reads a RectangleF object with the specified name.

ReadSByte

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

ReadShort

Overloaded.  

ReadSizeF

Reads a SizeF object with the specified name.

ReadStream

Reads a stream with the specified name.

ReadString

Overloaded.  

ReadStringFormat

Overloaded.  

ReadThickness

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

WriteBrush

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

WriteBrushList

Writes the specified brushes.

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.

WriteDecimal

Write a decimal value with the specified name.

WriteDictionary

Writes the specified dictionary.

WriteDouble

Overloaded.  

WriteDoubleList

Writes the specified list of doubles.

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.

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

Overloaded.  

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.

WriteThickness

Writes a Thickness with the specified name.

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.

 See Also

XmlPersistContext Class
MindFusion.Charting Namespace