Struct VBUserDefinedTypeField
One field of a VBUserDefinedTypeLayout, and where it sits.
public readonly record struct VBUserDefinedTypeField : IEquatable<VBUserDefinedTypeField>
- Implements
- Inherited Members
Constructors
VBUserDefinedTypeField(VBUserDefinedTypeFieldSymbol, int, int)
One field of a VBUserDefinedTypeLayout, and where it sits.
public VBUserDefinedTypeField(VBUserDefinedTypeFieldSymbol Symbol, int Offset, int Width)
Parameters
SymbolVBUserDefinedTypeFieldSymbolThe field's own symbol.
OffsetintHow many bytes from the start of the type the field begins at.
WidthintHow many bytes the field occupies in memory.
Properties
Offset
How many bytes from the start of the type the field begins at.
public int Offset { get; init; }
Property Value
Symbol
The field's own symbol.
public VBUserDefinedTypeFieldSymbol Symbol { get; init; }
Property Value
Width
How many bytes the field occupies in memory.
public int Width { get; init; }