Search
XmlPersistContext Members
Constructors 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 Methods

  Name Description

addChildElement

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

readBool

Reads a boolean value with the specified name.

readBrush

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

readBrushes

Reads all brushes.

readBrushList

Reads a list of brushes.

readColor

Reads a color with the specified name.

readDashStyleList

Reads a list of dash styles.

readEnum

Reads an enum value with the specified name.

readFloat

Reads a float value with the specified name.

readFloatList

Reads a list of floats.

readInt

Reads an integer value with the specified name.

readObject

Reads an object with the specified name.

readString

Reads a string value with the specified name.

readStringFormat

Reads a StringFormat object with the specified name.

writeBool

Writes a boolean value with the specified name.

writeBrush

Writes a reference to the specified brush. The brushis registered within the internal hashtable forsubsequent serialization.

writeBrushes

Writes all currently accumulated brushes.

writeBrushList

Writes a list of brushes.

writeColor

Writes the specified color.

writeColorList

Writes a list of colors.

writeDashStyleList

Writes a list of dash styles.

writeEnum

Writes the specified enum value.

writeFloat

Writes a float value with the specified name.

writeFloatList

Writes a list of floating-point numbers.

writeInt

Writes an integer value with the specified name.

writeObject

Writes the specified object under the specified name.

writeString

Writes a string value with the specified name.

 See Also