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);

Parameters

mdBuilder
MethodBuilder

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

Applies to

Produkt Versjoner
.NET 8, 9