EventBuilder.SetAddOnMethod(MethodBuilder) メソッド

定義

このイベントをサブスクライブするメソッドを設定します。

public:
 void SetAddOnMethod(System::Reflection::Emit::MethodBuilder ^ mdBuilder);
public void SetAddOnMethod (System.Reflection.Emit.MethodBuilder mdBuilder);
member this.SetAddOnMethod : System.Reflection.Emit.MethodBuilder -> unit
Public Sub SetAddOnMethod (mdBuilder As MethodBuilder)

パラメーター

mdBuilder
MethodBuilder

このイベントをサブスクライブするメソッドを表す MethodBuilder オブジェクト。

例外

mdBuildernullです。

CreateType() が、外側の型に対して呼び出されました。

適用対象