Read Generic Method

Vajhoej Record

Collapse imageExpand ImageCollapseAll imageExpandAll imageDropDown imageDropDownHover imageCopy imageCopyHover image
Read.

Namespace: Vajhoej.Record
Assembly: Record (in Record.dll) Version: 0.0.0.0

Syntax

         
 C#  Visual Basic  Visual C++ 
public T Read<T>(
	Type t,
	LengthProvider lenpvd,
	MaxLengthProvider maxlenpvd
)
where T : class, new()
Public Function Read(Of T As {Class, New}) ( _
	t As Type, _
	lenpvd As LengthProvider, _
	maxlenpvd As MaxLengthProvider _
) As T
public:
generic<typename T>
where T : ref class, gcnew()
T Read(
	Type^ t, 
	LengthProvider^ lenpvd, 
	MaxLengthProvider^ maxlenpvd
)

Parameters

t
Type
Type of what to read.
lenpvd
LengthProvider
Supplies length for fields where it is not given.
maxlenpvd
MaxLengthProvider
Supplies max length for fields where it is not given.

Type Parameters

T
Type of what to read.

Return Value

Object read.

Exceptions

ExceptionCondition
Vajhoej.Record..::..RecordExceptionIf impossible to convert between types in class and struct.

See Also