System.Runtime.InteropServices.ICustomMarshaler Members

The members of System.Runtime.InteropServices.ICustomMarshaler are listed below.

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.