MarshalManagedToNative Method
Collapse the table of content
Expand the table of content

ICustomMarshaler.MarshalManagedToNative Method (Object)


Converts the managed data to unmanaged data.

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

IntPtr MarshalManagedToNative(
	object ManagedObj


Type: System.Object

The managed object to be converted.

Return Value

Type: System.IntPtr

A pointer to the COM view of the managed object.

.NET Framework
Available since 1.1
Return to top
© 2016 Microsoft