IDataReaderFormatter(T).Serialize Method

System.Data.Generic

IDataReaderFormatterTSerialize Method
Serializes an object, or graph as objects with the given root to the provided reader.

Namespace: System.Data.Generic.Serialization.Formatters
Assembly: System.Data.Generic (in System.Data.Generic.dll) Version: 1.9.5473.30542 (1.9.5473.2392)
Syntax
void Serialize(
	IDataReader reader,
	T graph
)
Sub Serialize ( 
	reader As IDataReader,
	graph As T
)
void Serialize(
	IDataReader^ reader, 
	T graph
)
abstract Serialize : 
        reader : IDataReader * 
        graph : 'T -> unit 

Parameters

reader
Type: System.DataIDataReader
The DataReader where the formatter puts the serialized data.
graph
Type: T
The object, or root of the object graph, to serialize.
Remarks