O'Reilly logo

C# in a Nutshell by Peter Drayton, Ted Neward, Ben Albahari

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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.ObjectSystem.ValueTypeSystem.Enum(System.IComparable, System.IFormattable, System.IConvertible)PackingSize

Returned By

TypeBuilder.PackingSize

Passed To

ModuleBuilder.DefineType(), TypeBuilder.DefineNestedType()

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required