Contains methods that facilitate serializing and deserializing objects to and from XML documents.
The following tables list the members exposed by the XmlPersistContext type.
Name | Description | |
---|---|---|
Initializes a new instance of the XmlPersistContext class. |
Name | Description | |
---|---|---|
Specifies the latest file format revision number. |
Name | Description | |
---|---|---|
Gets the format revision number for the file being currently serialized. |
||
Gets or sets a value specifies whether properties that have their default value should be serialized to XML. |
||
Gets the underlying XML document. |
Name | Description | |
---|---|---|
Overloaded. Adds a new child node with the specified name. |
||
Overloaded. Reads a boolean value with the specified name. |
||
Overloaded. Reads a Brush object with the specified name. |
||
Overloaded. Reads a list of brushes. |
||
Reads a byte value with the specified name. |
||
Reads a char value with the specified name. |
||
Overloaded. Reads a color with the specified name. |
||
Reads a color array with the specified name. |
||
Reads a decimal value with the specified name. |
||
Overloaded. Reads a double value with the specified name. |
||
Reads a float array with the specified name. |
||
Overloaded. Reads a list of doubles. |
||
Overloaded. Reads an enum value with the specified name. |
||
Overloaded. Reads a float value with the specified name. |
||
Overloaded. Reads a Font object with the specified name. |
||
Reads a hashtable with the specified name. |
||
Overloaded. Reads an integer value with the specified name. |
||
Reads a long value with the specified name. |
||
Reads a nullable double value with the specified name. |
||
Reads a nullable enum value with the specified name. |
||
Reads an object with the specified name. |
||
Overloaded. Reads a Pen object with the specified name. |
||
Overloaded. Reads a Point object with the specified name. |
||
Reads a Rect object with the specified name. |
||
Reads a 8-bit signed integer value with the specified name. |
||
Overloaded. Reads a short value with the specified name. |
||
Reads a Size object with the specified name. |
||
Reads a stream with the specified name. |
||
Overloaded. Reads a string value with the specified name. |
||
Overloaded. Reads a StringFormat object with the specified name. |
||
Reads a Thickness object with the specified name. |
||
Reads an unsigned integer value with the specified name. |
||
Reads an unsigned long value with the specified name. |
||
Reads an unsigned short value with the specified name. |
||
Writes a boolean value with the specified name. |
||
Writes a reference to the specified brush. The brush is registered within the internal hashtable for subsequent serialization. |
||
Writes the specified brushes. |
||
Write a byte value with the specified name. |
||
Write a char value with the specified name. |
||
Writes the specified color. |
||
Writes the specified array. |
||
Write a decimal value with the specified name. |
||
Writes the specified dictionary. |
||
Overloaded. Writes a double value with the specified name. |
||
Writes the specified array. |
||
Writes the specified list of doubles. |
||
Writes the specified enum value. |
||
Writes a float value with the specified name. |
||
Writes the specified font. |
||
Writes an integer value with the specified name. |
||
Writes a long value with the specified name. |
||
Writes the specified object under the specified name. |
||
Writes the specified pen. |
||
Overloaded. Writes a Point with the specified name. |
||
Writes a Rect with the specified name. |
||
Write a 8-bit signed integer value with the specified name. |
||
Writes a short value with the specified name. |
||
Writes a Size with the specified name. |
||
Writes the specified stream. |
||
Writes a string value with the specified name. |
||
Writes the specified StringFormat object. |
||
Overloaded. |
||
Writes an unsigned integer value with the specified name. |
||
Writes an unsigned long value with the specified name. |
||
Writes an unsigned short value with the specified name. |