




























![]() ![]() ![]() ![]() ![]() |
A Sandcastle Documented Class Library |
Util2..::WriteAll<(Of <(<'T>)>)> Method (Type, IList<(Of <(<'T>)>)>, LengthProvider, MaxLengthProvider, ElementsProvider) |
Write List of objects into array of struct in byte array.
Namespace: Vajhoej.Record
Assembly: Record (in Record.dll) Version: 0.0.0.0
Syntax
C# | Visual Basic | Visual C++ |
public static byte[] WriteAll<T>( Type t, IList<T> lst, LengthProvider lenpvd, MaxLengthProvider maxlenpvd, ElementsProvider elmpvd )
Public Shared Function WriteAll(Of T) ( _ t As Type, _ lst As IList(Of T), _ lenpvd As LengthProvider, _ maxlenpvd As MaxLengthProvider, _ elmpvd As ElementsProvider _ ) As Byte()
public: generic<typename T> static array<unsigned char>^ WriteAll( Type^ t, IList<T>^ lst, LengthProvider^ lenpvd, MaxLengthProvider^ maxlenpvd, ElementsProvider^ elmpvd )
Parameters
- t
- Type
Type.
- lst
- IList<(Of <(<'T>)>)>
List of objects.
- lenpvd
- LengthProvider
Length provider.
- maxlenpvd
- MaxLengthProvider
Max length provider.
- elmpvd
- ElementsProvider
Element provider.
Type Parameters
- T
- Type.
Return Value
Byte array.
Exceptions
Exception | Condition |
---|---|
Vajhoej.Record..::..RecordException | If problem with record definition. |