EventBuilder.SetAddOnMethodCore(MethodBuilder) Method

Definition

When overridden in a derived class, sets the method used to subscribe to this event.

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

Parameters

mdBuilder
MethodBuilder

A MethodBuilder object that represents the method used to subscribe to this event.

Applies to