EventBuilder.AddOtherMethod(MethodBuilder) Metoda

Definice

Přidá jednu z "ostatních" metod přidružených k této události. "Jiné" metody jsou jiné metody než metody on a raise přidružené k události. Tuto funkci je možné volat mnohokrát a přidat tolik "jiných" metod.

public:
 void AddOtherMethod(System::Reflection::Emit::MethodBuilder ^ mdBuilder);
public void AddOtherMethod (System.Reflection.Emit.MethodBuilder mdBuilder);
member this.AddOtherMethod : System.Reflection.Emit.MethodBuilder -> unit
Public Sub AddOtherMethod (mdBuilder As MethodBuilder)

Parametry

mdBuilder
MethodBuilder

Objekt MethodBuilder , který představuje druhou metodu.

Výjimky

mdBuilder je null.

CreateType() byla volána u ohraničujícího typu.

Platí pro