Name
PackingSize
Synopsis
This enumeration defines the packing size for a type, and is set in the ModuleBuilder.DefineType()
and TypeBuilder.DefineNestedType()
methods. The digit at the end of each value name in this enumeration specifies a
number of bytes.
public enum PackingSize { Unspecified = 0, Size1 = 1, Size2 = 2, Size4 = 4, Size8 = 8, Size16 = 16 }
Hierarchy
System.Object→System.ValueType→System.Enum(System.IComparable
, System.IFormattable
, System.IConvertible)→PackingSize
Returned By
TypeBuilder.PackingSize
Passed To
ModuleBuilder.DefineType()
, TypeBuilder.DefineNestedType()
Get C# in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.