ICustomMarshaler インターフェイス

定義

メソッド呼び出しを処理するためのカスタム ラッパーを提供します。

public interface class ICustomMarshaler
public interface ICustomMarshaler
[System.Runtime.InteropServices.ComVisible(true)]
public interface ICustomMarshaler
type ICustomMarshaler = interface
[<System.Runtime.InteropServices.ComVisible(true)>]
type ICustomMarshaler = interface
Public Interface ICustomMarshaler
派生
属性

注釈

この API の詳細については、「 ICustomMarshaler の補足 API 解説」を参照してください。

メソッド

名前 説明
CleanUpManagedData(Object)

マネージド データが不要になったら、必要なクリーンアップを実行します。

CleanUpNativeData(IntPtr)

アンマネージド データが不要になったら、必要なクリーンアップを実行します。

GetNativeDataSize()

マーシャリングするネイティブ データのサイズを返します。

MarshalManagedToNative(Object)

マネージド データをアンマネージド データに変換します。

MarshalNativeToManaged(IntPtr)

アンマネージ データをマネージド データに変換します。

適用対象