This documentation is archived and is not being maintained.

Marshal.PtrToStructure Method

Marshals data from an unmanaged block of memory to a managed object.

Name Description
Marshal.PtrToStructure (IntPtr, Object) Marshals data from an unmanaged block of memory to a managed object.

Supported by the .NET Compact Framework.

Marshal.PtrToStructure (IntPtr, Type) Marshals data from an unmanaged block of memory to a newly allocated managed object of the specified type.

Supported by the .NET Compact Framework.

Show: