StructWriterWrite(Object, LengthProvider, MaxLengthProvider, ElementsProvider) Method

Write.

Definition

Namespace: Vajhoej.Record
Assembly: Record (in Record.dll) Version: 0.0.0.0
C#
public void Write(
	Object o,
	LengthProvider lenpvd,
	MaxLengthProvider maxlenpvd,
	ElementsProvider elmpvd
)

Parameters

o  Object
Object to write.
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.

Exceptions

RecordExceptionIf impossible to convert between types in class and struct.

See Also