A int that indicates the size of the memory block to be allocated for an instance of the type qualified by the current System.Runtime.InteropServices.StructLayoutAttribute.
StructLayoutAttribute.Size is required to be zero, or greater than or equal to the calculated size of the target object, based on the StructLayoutAttribute.Pack field indicating the packing alignment. A StructLayoutAttribute.Size of zero indicates that the size is calculated from the field types, their specified offsets, the packing size (default or specified) and natural alignment on the target, runtime platform.
Note: For additional information on the StructLayoutAttribute.Size field, see Partition II of the CLI Specification.
Namespace: System.Runtime.InteropServices
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0