ICustomMarshaler.MarshalManagedToNative Method (Object)

 
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.

Converts the managed data to unmanaged data.

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

IntPtr MarshalManagedToNative(
	object ManagedObj
)

Parameters

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
Show: