WriteAll Generic Method

Vajhoej Record

Collapse imageExpand ImageCollapseAll imageExpandAll imageDropDown imageDropDownHover imageCopy imageCopyHover image
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

ExceptionCondition
Vajhoej.Record..::..RecordExceptionIf problem with record definition.

See Also