Search
XmlSerializationContext Members
Constructors Methods
 


Contains methods that help serialize and deserialize schedule objects to and 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 Methods

  Name Description

addChildElement

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

addSerializationContextListener

Adds a SerializationContextListener to the context. (Inherited from SerializationContext.)

getClassVersion

Gets the class version of the currently deserialized item.

getFileVersion

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

getSchedule

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

getXmlDocument

Gets the underlying XML document.

readBool

Overloaded. Reads a boolean value with the specified name.

readBrush

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

readDouble

Reads a double value with the specified name.

readEnum

Reads an enumeration 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.

readLong

Reads a long value with the specified name.

readObject

Reads an object with the specified name.

readPen

Reads a Pen object with the specified name.

readRecurrence

Reads a Recurrence object with the specified name.

readReminder

Reads a Reminder object with the specified name.

readShort

Reads a short value with the specified name.

readString

Reads a string value with the specified name.

readStyle

Reads a Style object with the specified name.

readTag

Reads the specified tag for the specified object.

readTextFormat

Reads a TextFormat object with the specified name.

removeSerializationContextListener

Removes the specified SerializationContextListener from the context. (Inherited from SerializationContext.)

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.

writeDouble

Writes a double value with the specified name.

writeEnum

Writes the specified enumeration 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.

writeRecurrence

Writes the specified Recurrence object.

writeReminder

Writes the specified Reminder object.

writeShort

Writes a short value with the specified name.

writeString

Writes a string value with the specified name.

writeStringFormat

Writes the specified TextFormat object.

writeStyle

Writes the specified Style object.

writeTag

Writes the specified tag of the specified object.

 See Also