LengthProvider Delegate
Get length of field.
Note: can only be used with struct fields of field types FIXSTR, FIXSTRNULTERM,
PACKEDBCD and ZONEDPBCD.
Namespace: Vajhoej.RecordAssembly: Record (in Record.dll) Version: 0.0.0.0
public delegate int LengthProvider(
Object o,
int n
)
Public Delegate Function LengthProvider (
o As Object,
n As Integer
) As Integer
Dim instance As New LengthProvider(AddressOf HandlerMethod)
public delegate int LengthProvider(
Object^ o,
int n
)
type LengthProvider =
delegate of
o : Object *
n : int -> int
- o Object
- Object (not completely initialized for read).
- n Int32
- Field number.
Int32Length (values < 0 indicates that value is to be ignored).