[]
Represents the serializer object for opening from and saving to a file.
public class Serializer
Public Class Serializer
Name | Description |
---|---|
Serializer() |
Name | Description |
---|---|
CanSerializeObject(object) | Determines whether the specified object can be serialized to XML. |
CloneNodeReader(XmlNodeReader) | Creates a copy of an XmlNodeReader without advancing the original. |
CreateObjectInstanceAndDeserialize(XmlNodeReader, Type) | Creates an object serialized into a specified XML node reader of a specified type. |
CreateObjectInstanceAndDeserialize(XmlNodeReader, Type, Type) | Creates an object serialized into a specified XML node reader of a specified type and interface. |
CreateObjectInstanceAndDeserialize(XmlNodeReader, Type, Type, object) | Creates an object serialized into a specified XML node reader of a specified type and interface. |
CreateObjectInstanceAndDeserialize(XmlNodeReader, Type, Type, Assembly) | Creates an object serialized into a specified XML node reader of a specified type, interface, and calling assembly. |
CreateObjectInstanceAndDeserialize(XmlNodeReader, Type, Type, Assembly, object) | Creates an object serialized into a specified XML node reader of a specified type, interface, and calling assembly. |
CreateObjectInstanceAndDeserialize(XmlNodeReader, Type, Type, Assembly, object, IDeserializeInjector) | Creates an object serialized into a specified XML node reader of a specified type and interface. |
DecodeObject(string) | Decodes an object from a base64 string (inverse of EncodeObject). |
DefaultDeserializeProp(object, object) | Deserializes the specified basic object saved with DefaultSerializeProp and returns the value. |
DefaultSerializeProp(object) | Serializes the specified basic object and returns the string representation |
DeserializeByteArray(XmlNodeReader) | Deserializes an array of bytes from XML |
DeserializeColorValue(string) | Converts a six-digit hexadecimal color value into a color object. |
DeserializeDateTimeFormatInfo(XmlNodeReader) | Deserializes a DateTimeFormatInfo object from XML. |
DeserializeDateValue(string) | Converts a date format string to a DateTime value. |
DeserializeEnumValue(string, Type) | Deserializes an enumeration value of the specified type. |
DeserializeFont(XmlNodeReader) | Creates and deserializes a font serialized with SerializeFont or SerializeFontValue. |
DeserializeIcon(string) | Creates an image from the specified serialized base-64 encoded string. |
DeserializeImage(string) | Creates an image from the specified serialized base-64 encoded string. |
DeserializeIntArray(XmlNodeReader) | Deserializes an array of integers from XML |
DeserializeNumberFormatInfo(XmlNodeReader) | Deserializes a NumberFormatInfo object from XML. |
DeserializePointFArray(XmlNodeReader) | Deserializes an array of PointF objects from XML |
DeserializeString(XmlNodeReader) | Deserializes a string from XML. |
DeserializeStringArray(XmlNodeReader) | Deserializes an array of strings from XML. |
EncodeObject(object) | Encodes an object to a base64 string, if it is serializable. |
ExtractNode(XmlNodeReader) | Extracts the current node in the specified node reader into a new node reader and advances that reader to the next node. |
GetObjectXml(ISerializeSupport, string) | Serializes an object to an XML string. |
GetObjectXml(ISerializeSupport, string, Assembly) | Serializes an object to an XML string. |
IsDefaultValue(object, string, object) | Determines if the value of a specified property of an object is the default value. |
LoadObject(Type, Stream, string) | Loads an object from a stream previously saved with Serializer.SaveObject. |
LoadObject(Type, Stream, string, Assembly) | Loads an object from a stream previously saved with Serializer.SaveObject. |
LoadObject(Type, string, string) | Loads an object from a file previously saved with Serializer.SaveObject. |
LoadObject(Type, string, string, Assembly) | Loads an object from a file previously saved with Serializer.SaveObject. |
LoadObjectXml(Type, string, string) | Creates and deserializes a new instance of an object saved with GetObjectXml. |
LoadObjectXml(Type, string, string, Assembly) | Creates and deserializes a new instance of an object saved with GetObjectXml. |
SaveObject(object, Stream, string) | Saves an object as XML to a stream. |
SaveObject(object, string, string) | Saves an object as XML to a file. |
SaveObject(object, Type, Stream, string) | Saves an object as XML to a stream using the specified serialization interface. |
SaveObject(object, Type, Stream, string, Assembly) | Saves an object as XML to a stream using the specified serialization interface. |
SaveObject(object, Type, string, string) | Saves an object as XML to a file using the specified serialization interface. |
SaveObject(object, Type, string, string, Assembly) | Saves an object as XML to a file using the specified serialization interface. |
SerializeByteArray(byte[], string, XmlTextWriter) | Serializes an array of bytes to XML. |
SerializeColor(Color, string, XmlTextWriter) | Serializes a color to XML with the specified writer. |
SerializeColorValue(Color) | Converts a color object into a color name (for example, Blue) or a six-digit hexadecimal color value (for example, #FFFFFF). |
SerializeData(object, string, XmlTextWriter) | Serializes an object using the ISerializeData interface. |
SerializeData(object, string, XmlTextWriter, bool) | Serializes an object using the ISerializeData interface. |
SerializeDateTimeFormatInfo(DateTimeFormatInfo, string, XmlTextWriter) | Serializes a DateTimeFormatInfo object to XML. |
SerializeDateValue(DateTime) | Converts a DataTime object to a date format string. |
SerializeDrawing(object, string, XmlTextWriter) | Serializes an object using the ISerializeDrawing interface. |
SerializeEnum(Enum, string, XmlTextWriter) | Serializes an enumeration value to XML with the specified writer. |
SerializeFont(Font, string, XmlWriter) | Serializes a font into XML with the specified writer. |
SerializeFontValue(object, XmlWriter) | Serializes a font to XML with the specified writer without writing element tags. |
SerializeFontValue(object, XmlWriter, bool) | Serializes font information to XML with the specified writer and short XML name option without writing element tags. |
SerializeIcon(Icon, string, XmlWriter) | Serializes an icon to XML as a base-64 encoded string to a specified element with the specified writer. |
SerializeImage(Image, string, XmlTextWriter) | Serializes an image to XML as a base-64 encoded string to a specified element with the specified writer. |
SerializeIntArray(int[], string, XmlTextWriter) | Serializes an array of integers to XML. |
SerializeNumberFormatInfo(NumberFormatInfo, string, XmlTextWriter) | Serializes a NumberFormatInfo object to XML. |
SerializeObject(object, string, XmlTextWriter) | Serializes an object to XML using the ISerializeSupport interface. |
SerializeObject(object, string, XmlTextWriter, Assembly) | Serializes an object to XML using the ISerializeSupport interface. |
SerializeObject(object, Type, string, XmlTextWriter) | Serializes an object to XML using the ISerializeSupport interface. |
SerializeObject(object, Type, string, XmlTextWriter, Assembly) | Serializes an object to XML using the ISerializeSupport interface. |
SerializeObject(object, Type, string, XmlTextWriter, Assembly, object[]) | Serializes an object to XML using the ISerializeSupport interface. |
SerializeObject(object, Type, string, XmlTextWriter, Assembly, object[], bool) | Serializes an object to XML using the ISerializeSupport interface. |
SerializeObject(object, Type, string, XmlTextWriter, Assembly, object[], bool, Hashtable, object) | Serializes an object to XML using the ISerializeSupport interface. |
SerializeObject(object, Type, string, XmlTextWriter, Assembly, object[], Hashtable, object) | Serializes an object to XML using the ISerializeSupport interface. |
SerializeObject2(object, string, XmlTextWriter, Assembly, Hashtable, object) | Serializes an object to XML using the ISerializeSupport interface. |
SerializeObject3(object, string, XmlTextWriter, Assembly) | Serializes an object to XML using the ISerializeSupport3 interface. |
SerializePointFArray(PointF[], string, XmlTextWriter) | Serializes an array of PointF points to XML. |
SerializePresentation(object, string, XmlTextWriter) | Serializes an object using the ISerializePresentation interface. |
SerializePresentation(object, string, XmlTextWriter, Hashtable, object) | Serializes an object using the ISerializePresentation2 interface. |
SerializeSettings(object, string, XmlTextWriter) | Serializes an object using the ISerializeSettings interface. |
SerializeString(string, string, XmlTextWriter) | Serializes a string to XML. |
SerializeStringArray(string[], string, XmlTextWriter) | Serializes an array of strings to XML. |
SerializeStyles(object, string, XmlTextWriter) | Serializes an object using the ISerializeStyles interface. |
SerializeStyles2(object, string, XmlTextWriter, object) | Serializes an object using the ISerializeStyles2 interface. |
SetObjectXml(ISerializeSupport, string, string) | Deserializes an object saved with GetObjectXml using the specified XML string. |