Serialize Method
Definition
- Namespace
- Cuemon.Xml.Serialization
- Assemblies
- Cuemon.Xml.dll
Serialize(object, Type)
Serializes the specified value to a Stream.
public Stream Serialize(object value, Type objectType)
Parameters
valueobjectThe object to serialize to XML format.
objectTypeTypeThe type of the object to serialize.
Returns
- Stream
A stream of the serialized object.