




























![]() ![]() ![]() ![]() ![]() |
A Sandcastle Documented Class Library |
Util2..::ReadAll<(Of <(<'T>)>)> Method (Type, Stream, IList<(Of <(<'T>)>)>, LengthProvider, MaxLengthProvider, ElementsProvider) |
Read array of struct in stream into List of objects.
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, IList<T> lst, LengthProvider lenpvd, MaxLengthProvider maxlenpvd, ElementsProvider elmpvd ) where T : class, new()
Public Shared Sub ReadAll(Of T As {Class, New}) ( _ t As Type, _ stm As Stream, _ lst As IList(Of T), _ lenpvd As LengthProvider, _ maxlenpvd As MaxLengthProvider, _ elmpvd As ElementsProvider _ )
public: generic<typename T> where T : ref class, gcnew() static void ReadAll( Type^ t, Stream^ stm, IList<T>^ lst, LengthProvider^ lenpvd, MaxLengthProvider^ maxlenpvd, ElementsProvider^ elmpvd )
Parameters
- t
- Type
Type.
- stm
- Stream
Stream.
- lst
- IList<(Of <(<'T>)>)>
List of objects.
- lenpvd
- LengthProvider
Length provider.
- maxlenpvd
- MaxLengthProvider
Max length provider.
- elmpvd
- ElementsProvider
Element provider.
Type Parameters
- T
- Type.
Exceptions
Exception | Condition |
---|---|
Vajhoej.Record..::..RecordException | If problem with record definition. |
System.IO..::..IOException | If problem with stream. |