Table of Contents

Serialize Method

Definition

Namespace
Cuemon.Xml.Serialization
Assemblies
Cuemon.Xml.dll
Source
src/Cuemon.Xml/Serialization/XmlSerializer.cs

Serialize(object, Type)

Serializes the specified value to a Stream.

public Stream Serialize(object value, Type objectType)

Parameters

value object

The object to serialize to XML format.

objectType Type

The type of the object to serialize.

Returns

Stream

A stream of the serialized object.