EventBuilder.AddOtherMethod(MethodBuilder) Método

Definición

Agrega uno de los métodos "otros" asociados a este evento. Los métodos "Otros" son métodos distintos de los métodos "on" y "raise" asociados a un evento. Se puede llamar a esta función muchas veces para agregar tantos métodos "otros".

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)

Parámetros

mdBuilder
MethodBuilder

Objeto MethodBuilder que representa el otro método.

Excepciones

mdBuilder es null.

CreateType() se ha llamado al tipo envolvente.

Se aplica a