EventBuilder.SetAddOnMethodCore(MethodBuilder) Method

Definition

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

C#
protected abstract void SetAddOnMethodCore(System.Reflection.Emit.MethodBuilder mdBuilder);

Parameters

mdBuilder
MethodBuilder

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

Applies to

Product Versions
.NET 8, 9