This documentation is archived and is not being maintained.

Marshal.SizeOf Method

Returns the unmanaged size, in bytes, of a class using Marshal.

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 Supported by the .NET Compact Framework Supported by the XNA Framework SizeOf(Object) Returns the unmanaged size of an object in bytes.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework SizeOf(Type) Returns the size of an unmanaged type in bytes.
Top
Show: