UtilReadAllT(Type, Stream, IListT) Method

Read array of struct in stream into List of objects. 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 ReadAll<T>(
	Type t,
	Stream stm,
	IList<T> lst
)
where T : class, new()

Parameters

t  Type
Type.
stm  Stream
Stream.
lst  IListT
List of objects.

Type Parameters

T
Type.

Exceptions

RecordExceptionIf problem with record definition.
IOExceptionIf problem with stream.

See Also