Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
SizeOf Method
Collapse the table of content
Expand the table of content

Marshal.SizeOf Method

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

Name Description
Marshal.SizeOf (Object) Returns the unmanaged size of an object in bytes.

Supported by the .NET Compact Framework.

Marshal.SizeOf (Type) Returns the size of an unmanaged type in bytes.

Supported by the .NET Compact Framework.

Community Additions

ADD
Show:
© 2015 Microsoft