Marshal.StructureToPtr Method

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Namespace:   System.Runtime.InteropServices
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticStructureToPtr(Object, IntPtr, Boolean)

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

System_CAPS_pubmethodSystem_CAPS_staticStructureToPtr(Of 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.

Return to top
Show: