System.Runtime.InteropServices.ICustomMarshaler: Method Members

The methods of System.Runtime.InteropServices.ICustomMarshaler are listed below. For a list of all members, see the ICustomMarshaler Members list.

Public Methods

CleanUpManagedData(object)

Performs necessary cleanup of the managed data when it is no longer needed.

CleanUpNativeData(IntPtr)

Performs necessary cleanup of the unmanaged data when it is no longer needed.

GetNativeDataSize() : int

Returns the size of the native data to be marshaled.

MarshalManagedToNative(object) : IntPtr

Converts the managed data to unmanaged data.

MarshalNativeToManaged(IntPtr) : object

Converts the unmanaged data to managed data.