[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.SlimAssembly: NFX (in NFX.dll) Version: 3.0.0.1 (3.0.0.1)
public void Serialize(
Stream stream,
Object root,
Nullable<DateTime> documentCreationDate = null,
string documentNotes = null
)
public void Serialize(
Stream stream,
Object root,
Nullable<DateTime> documentCreationDate = null,
string documentNotes = null
)
Public Sub Serialize (
stream As Stream,
root As Object,
Optional documentCreationDate As Nullable(Of DateTime) = Nothing,
Optional documentNotes As String = Nothing
)
Public Sub Serialize (
stream As Stream,
root As Object,
Optional documentCreationDate As Nullable(Of DateTime) = Nothing,
Optional documentNotes As String = Nothing
)
public:
void Serialize(
Stream^ stream,
Object^ root,
Nullable<DateTime> documentCreationDate = nullptr,
String^ documentNotes = nullptr
)
public:
void Serialize(
Stream^ stream,
Object^ root,
Nullable<DateTime> documentCreationDate = nullptr,
String^ documentNotes = nullptr
)
member Serialize :
stream : Stream *
root : Object *
?documentCreationDate : Nullable<DateTime> *
?documentNotes : string
(* Defaults:
let _documentCreationDate = defaultArg documentCreationDate null
let _documentNotes = defaultArg documentNotes null
*)
-> unit
member Serialize :
stream : Stream *
root : Object *
?documentCreationDate : Nullable<DateTime> *
?documentNotes : string
(* Defaults:
let _documentCreationDate = defaultArg documentCreationDate null
let _documentNotes = defaultArg documentNotes null
*)
-> unit