




























![]() ![]() ![]() ![]() ![]() |
A Sandcastle Documented Class Library |
Util..::ReadAll<(Of <(<'T>)>)> Method (Type, Stream, Util..::..ObjectHandlerProcess<(Of <(<'T>)>)>) |
Read array of struct in stream and processes them by handler.
Note: does not work with stucts containing VARSTR fields and STRUCT fields.
Namespace: Vajhoej.Record
Assembly: Record (in Record.dll) Version: 0.0.0.0
Syntax
C# | Visual Basic | Visual C++ |
public static void ReadAll<T>( Type t, Stream stm, Util..::..ObjectHandlerProcess<T> ohp ) where T : class, new()
Public Shared Sub ReadAll(Of T As {Class, New}) ( _ t As Type, _ stm As Stream, _ ohp As Util..::..ObjectHandlerProcess(Of T) _ )
public: generic<typename T> where T : ref class, gcnew() static void ReadAll( Type^ t, Stream^ stm, Util..::..ObjectHandlerProcess<T>^ ohp )
Parameters
- t
- Type
Type.
- stm
- Stream
Stream.
- ohp
- Util..::..ObjectHandlerProcess<(Of <(<'T>)>)>
Processor of objects.
Type Parameters
- T
- Type.
Exceptions
Exception | Condition |
---|---|
Vajhoej.Record..::..RecordException | If problem with record definition. |
System.IO..::..IOException | If problem with stream. |