FieldInfo Constructor

Create instance of FieldInfo with all necessary properties.

Definition

Namespace: Vajhoej.Record
Assembly: Record (in Record.dll) Version: 0.0.0.0
C#
public FieldInfo(
	FieldType structType,
	int length,
	int decimals,
	string encoding,
	byte zone,
	int prefixLength,
	ExtEndian endianess,
	bool pad,
	char padchar,
	Type classType,
	FieldInfo field,
	IDictionary<int, SubClassAndPad> selects,
	bool selectPad,
	int elements,
	int countprefix
)

Parameters

structType  FieldType
native struct type.
length  Int32
length of fixed length string.
decimals  Int32
Number of decimals.
encoding  String
Encoding of string.
zone  Byte
Zone of zoned BCD.
prefixLength  Int32
Prefix length of variable length string
endianess  ExtEndian
endianess
pad  Boolean
whether to pad
padchar  Char
pad character
classType  Type
.NET class type.
field  FieldInfo
Corresponding reflection object.
selects  IDictionaryInt32, SubClassAndPad
Sub class selections.
selectPad  Boolean
Pad sub classes to fixed length.
elements  Int32
Number of elements.
countprefix  Int32
Length in bytes of count prefix.

See Also