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 物件。

備註

「其他」方法是指除了「on」和「raise」方法之外,與這個事件關聯的方法。 這個函式可以多次呼叫,以新增額外的「其他」方法。

適用於