ReadAll Generic Method

Vajhoej Record

Collapse imageExpand ImageCollapseAll imageExpandAll imageDropDown imageDropDownHover imageCopy imageCopyHover image
Read array of struct in byte array 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 IList<T> ReadAll<T>(
	Type t,
	byte[] b,
	LengthProvider lenpvd,
	MaxLengthProvider maxlenpvd,
	ElementsProvider elmpvd
)
where T : class, new()
Public Shared Function ReadAll(Of T As {Class, New}) ( _
	t As Type, _
	b As Byte(), _
	lenpvd As LengthProvider, _
	maxlenpvd As MaxLengthProvider, _
	elmpvd As ElementsProvider _
) As IList(Of T)
public:
generic<typename T>
where T : ref class, gcnew()
static IList<T>^ ReadAll(
	Type^ t, 
	array<unsigned char>^ b, 
	LengthProvider^ lenpvd, 
	MaxLengthProvider^ maxlenpvd, 
	ElementsProvider^ elmpvd
)

Parameters

t
Type
Type.
b
array<Byte>[]()[][]
Byte array.
lenpvd
LengthProvider
Length provider.
maxlenpvd
MaxLengthProvider
Max length provider.
elmpvd
ElementsProvider
Element provider.

Type Parameters

T
Type.

Return Value

List of objects.

Exceptions

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

See Also