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. |
||
Overloaded. |
||
Overloaded. |
||
Overloaded. |
||
Reads a byte value with the specified name. |
||
Reads a char value with the specified name. |
||
Overloaded. |
||
Reads a color array with the specified name. |
||
Reads a decimal value with the specified name. |
||
Overloaded. |
||
Reads a float array with the specified name. |
||
Overloaded. |
||
Overloaded. |
||
Overloaded. |
||
Reads a float array with the specified name. |
||
Overloaded. |
||
Reads a hashtable with the specified name. |
||
Reads an Image object with the specified name. |
||
Overloaded. |
||
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. |
||
Overloaded. |
||
Reads a Rect object with the specified name. |
||
Reads a 8-bit signed integer value with the specified name. |
||
Overloaded. |
||
Reads a Size object with the specified name. |
||
Reads a stream with the specified name. |
||
Overloaded. |
||
Overloaded. |
||
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 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 array. |
||
Writes the specified font. |
||
Writes a reference to the specified image. The image is registered within the internal hashtable for subsequent serialization. |
||
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 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. |
||
Writes a Thickness with the specified name. |
||
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. |