PODSlimSerializer Serialize Method (Stream, Object, Nullable DateTime , String)NFX Class Library

[This is preliminary documentation and is subject to change.]

Serializes a graph of arbitrary CLR objects into stream using PortableObjectDocument container, optionally taking document creation attributes

Namespace: NFX.Serialization.Slim
Assembly: NFX (in NFX.dll) Version: 3.0.0.1 (3.0.0.1)
Syntax

public void Serialize(
	Stream stream,
	Object root,
	Nullable<DateTime> documentCreationDate = null,
	string documentNotes = null
)

Parameters

stream
Type: OnlineSystem.IO Stream
Target stream
root
Type: OnlineSystem Object
CLR object graph
documentCreationDate (Optional)
Type: OnlineSystem Nullable OnlineDateTime 
Optional document creation attribute
documentNotes (Optional)
Type: OnlineSystem String
Optional document creation attribute
See Also