Marshal.SizeOf Method
.NET Framework 4.5
Returns the unmanaged size, in bytes, of a class.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
| Name | Description | |
|---|---|---|
|
SizeOf(Object) | Returns the unmanaged size of an object in bytes. |
|
SizeOf(Type) | Returns the size of an unmanaged type in bytes. |