This topic has not yet been rated - Rate this topic

Marshal.SizeOf Method

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.

  NameDescription
Public method Static member SizeOf(Object) Returns the unmanaged size of an object in bytes.
Public method Static member SizeOf(Type) Returns the size of an unmanaged type in bytes.
Top
Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.