Util2WriteAllT(Type, IListT, LengthProvider, MaxLengthProvider, ElementsProvider) Method
Write List of objects into array of struct in byte array.
Namespace: Vajhoej.RecordAssembly: Record (in Record.dll) Version: 0.0.0.0
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()
Dim t As Type
Dim lst As IList(Of T)
Dim lenpvd As LengthProvider
Dim maxlenpvd As MaxLengthProvider
Dim elmpvd As ElementsProvider
Dim returnValue As Byte()
returnValue = Util2.WriteAll(t, lst,
lenpvd, maxlenpvd, elmpvd)
public:
generic<typename T>
static array<unsigned char>^ WriteAll(
Type^ t,
IList<T>^ lst,
LengthProvider^ lenpvd,
MaxLengthProvider^ maxlenpvd,
ElementsProvider^ elmpvd
)
static member WriteAll :
t : Type *
lst : IList<'T> *
lenpvd : LengthProvider *
maxlenpvd : MaxLengthProvider *
elmpvd : ElementsProvider -> byte[]
- t Type
- Type.
- lst IListT
- List of objects.
- lenpvd LengthProvider
- Length provider.
- maxlenpvd MaxLengthProvider
- Max length provider.
- elmpvd ElementsProvider
- Element provider.
- T
- Type.
ByteByte array.