Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Static method: XElement Serialize(Type, object, ClassifyOptions, IClassifyFormat<XElement>)

Declaration

public static XElement Serialize(
    Type saveType,
    object saveObject,
    ClassifyOptions options = null,
    IClassifyFormat<XElement> format = null
)

Summary

Converts the specified object into a serialized form.

Parameters

TypesaveType Type of object to convert.
objectsaveObject Object to be serialized.
ClassifyOptionsoptions Options.
IClassifyFormat<XElement>format Implementation of a Classify format. See ClassifyXmlFormat for an example.

Returns

The serialized form generated from the object.