EventBuilder.SetRemoveOnMethodCore(MethodBuilder) 方法

定义

在派生类中重写时,设置用于取消订阅此事件的方法。

protected:
 abstract void SetRemoveOnMethodCore(System::Reflection::Emit::MethodBuilder ^ mdBuilder);
protected abstract void SetRemoveOnMethodCore (System.Reflection.Emit.MethodBuilder mdBuilder);
abstract member SetRemoveOnMethodCore : System.Reflection.Emit.MethodBuilder -> unit
Protected MustOverride Sub SetRemoveOnMethodCore (mdBuilder As MethodBuilder)

参数

mdBuilder
MethodBuilder

MethodBuilder 对象,表示用于取消预订该事件的方法。

适用于