StructFieldAttribute Properties

Properties

Decimals Field decimals (for BCD's).
Encoding Field encoding (for strings).
Endianess Endianess.
Length Field length (for fixed length strings and BCD's).
N Field number.
Pad Pad to length (for fixed length strings).
PadChar Pad character (for fixed length strings with pad=true). Important: must be part of ASCII aka value in range 0 to 127.
PrefixLength Prefix length (for variable length strings).
Type Field type.
TypeIdWhen implemented in a derived class, gets a unique identifier for this Attribute.
(Inherited from Attribute)
Zone Field zone value (for zoned BCD's).

See Also