EventBuilder.AddOtherMethodCore(MethodBuilder) 方法

定义

在派生类中重写时,添加与此事件关联的“其他”方法之一。

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

参数

mdBuilder
MethodBuilder

一个 MethodBuilder 表示其他方法的对象。

注解

“Other”方法是与事件关联的“on”和“raise”方法以外的方法。 可以多次调用此函数来添加其他“其他”方法。

适用于