UtilWriteAllT(Type, IListT, Stream) Method

Write List of objects into array of struct in stream. Note: does not work with stucts containing VARSTR fields and STRUCT fields.

Definition

Namespace: Vajhoej.Record
Assembly: Record (in Record.dll) Version: 0.0.0.0
C#
public static void WriteAll<T>(
	Type t,
	IList<T> lst,
	Stream stm
)

Parameters

t  Type
Type.
lst  IListT
list of object.
stm  Stream
Stream.

Type Parameters

T
Type.

Exceptions

RecordExceptionIf problem with record definition.
IOExceptionIf problem with stream.

See Also