StructReaderReadT(Type, LengthProvider, MaxLengthProvider) Method
Read.
Namespace: Vajhoej.RecordAssembly: Record (in Record.dll) Version: 0.0.0.0
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
Dim instance As StructReader
Dim t As Type
Dim lenpvd As LengthProvider
Dim maxlenpvd As MaxLengthProvider
Dim returnValue As T
returnValue = instance.Read(t, lenpvd,
maxlenpvd)
public:
generic<typename T>
where T : ref class, gcnew()
T Read(
Type^ t,
LengthProvider^ lenpvd,
MaxLengthProvider^ maxlenpvd
)
member Read :
t : Type *
lenpvd : LengthProvider *
maxlenpvd : MaxLengthProvider -> 'T when 'T : not struct, new()
- 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.
- T
- Type of what to read.
TObject read.