The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
Marshal::StructureToPtr Method
Namespace:
System.Runtime.InteropServices
Assembly: mscorlib (in mscorlib.dll)
| Name | Description | |
|---|---|---|
![]() ![]() | StructureToPtr(Object^, IntPtr, Boolean) | Marshals data from a managed object to an unmanaged block of memory. |
![]() ![]() | StructureToPtr<T>(T, IntPtr, Boolean) | [Supported in the .NET Framework 4.5.1 and later versions] Marshals data from a managed object of a specified type to an unmanaged block of memory. |
Show:

