StructReaderReadT(Type, LengthProvider, MaxLengthProvider, ElementsProvider) Method
Read.
Namespace: Vajhoej.RecordAssembly: Record (in Record.dll) Version: 0.0.0.0
public T Read<T>(
Type t,
LengthProvider lenpvd,
MaxLengthProvider maxlenpvd,
ElementsProvider elmpvd
)
where T : class, new()
Public Function Read(Of T As {Class, New}) (
t As Type,
lenpvd As LengthProvider,
maxlenpvd As MaxLengthProvider,
elmpvd As ElementsProvider
) As T
Dim instance As StructReader
Dim t As Type
Dim lenpvd As LengthProvider
Dim maxlenpvd As MaxLengthProvider
Dim elmpvd As ElementsProvider
Dim returnValue As T
returnValue = instance.Read(t, lenpvd,
maxlenpvd, elmpvd)
public:
generic<typename T>
where T : ref class, gcnew()
T Read(
Type^ t,
LengthProvider^ lenpvd,
MaxLengthProvider^ maxlenpvd,
ElementsProvider^ elmpvd
)
member Read :
t : Type *
lenpvd : LengthProvider *
maxlenpvd : MaxLengthProvider *
elmpvd : ElementsProvider -> '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.
- elmpvd ElementsProvider
- Supplies elements for fields where it is not given.
- T
- Type of what to read.
TObject read.