EventBuilder.SetAddOnMethod(MethodBuilder) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
設定訂閱此事件的方法。
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 代表訂閱此事件的方法的物件。
例外狀況
mdBuilder 是 null。