ExpandoToDispatchExMarshaler クラス

定義

COM IDispatchEx インターフェイスを .NET Framework IExpando インターフェイス、または IReflect インターフェイスにマーシャリングします。その逆も同様です。

public ref class ExpandoToDispatchExMarshaler : System::Runtime::InteropServices::ICustomMarshaler
public class ExpandoToDispatchExMarshaler : System.Runtime.InteropServices.ICustomMarshaler
type ExpandoToDispatchExMarshaler = class
    interface ICustomMarshaler
Public Class ExpandoToDispatchExMarshaler
Implements ICustomMarshaler
継承
ExpandoToDispatchExMarshaler
実装

注釈

CLR ではこのカスタム マーシャラーが自動的に使用されないため、次のように宣言する必要があります。

void UseCustomMarshaler([MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(ExpandoToDispatchExMarshaler))] IExpando expando);

コンストラクター

名前 説明
ExpandoToDispatchExMarshaler()

静的クラス コンストラクターを提供します。

メソッド

名前 説明
CleanUpManagedData(Object)

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

CleanUpNativeData(IntPtr)

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

Equals(Object)

指定したオブジェクトが現在のオブジェクトと等しいかどうかを判断します。

(継承元 Object)
GetHashCode()

既定のハッシュ関数として機能します。

(継承元 Object)
GetInstance(String)

カスタム マーシャラーのインスタンスを返します。

GetNativeDataSize()

マーシャリングするアンマネージ データのサイズをバイト単位で返します。

GetType()

現在のインスタンスの Type を取得します。

(継承元 Object)
MarshalManagedToNative(Object)

マネージド コードからアンマネージ コードにオブジェクトをマーシャリングします。

MarshalNativeToManaged(IntPtr)

アンマネージ コードからマネージド コードにオブジェクトをマーシャリングします。

MemberwiseClone()

現在の Objectの簡易コピーを作成します。

(継承元 Object)
ToString()

現在のオブジェクトを表す文字列を返します。

(継承元 Object)

適用対象