Contains methods that facilitate serializing and deserializing of 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 | |
---|---|---|
![]() ![]() |
Indicates the latest format. |
Name | Description | |
---|---|---|
![]() |
Overloaded. |
|
![]() |
Gets the format revision number for the file being currently serialized. |
|
![]() |
Gets a value specifies whether properties that have their default value should be serialized to XML. |
|
![]() |
Gets the underlying XML document. |
|
![]() |
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. |
|
![]() |
Reads a double value 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 RectangleF object with the specified name. |
|
![]() |
Overloaded. |
|
![]() |
Reads a SizeF object with the specified name. |
|
![]() |
Overloaded. |
|
![]() |
Reads a Thickness object with the specified name. |
|
![]() |
Sets a value specifies whether properties that have their default value should be serialized to XML. |
|
![]() |
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 with Colors. |
|
![]() |
Write a decimal value with the specified name. |
|
![]() |
Writes the specified Dictionary. |
|
![]() |
Overloaded. |
|
![]() |
Writes the specified list of double values. |
|
![]() |
Writes the specified enum value. |
|
![]() |
Writes a float value with the specified name. |
|
![]() |
Writes the specified array with float values. |
|
![]() |
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 RectangleF 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 SizeF with the specified name. |
|
![]() |
Writes a string value with the specified name. |
|
![]() |
Writes a Thickness with the specified name. |