_EventInfo.GetRemoveMethod Método

Definição

Fornece objetos COM com acesso independente de versão para o método GetRemoveMethod.Provides COM objects with version-independent access to the GetRemoveMethod method.

Sobrecargas

GetRemoveMethod(Boolean)

Fornece objetos COM com acesso independente de versão para o método GetRemoveMethod(Boolean).Provides COM objects with version-independent access to the GetRemoveMethod(Boolean) method.

GetRemoveMethod()

Fornece objetos COM com acesso independente de versão para o método GetRemoveMethod().Provides COM objects with version-independent access to the GetRemoveMethod() method.

Comentários

Esse método é para acesso a classes gerenciadas de código não gerenciado e não deve ser chamado a partir de código gerenciado.This method is for access to managed classes from unmanaged code and should not be called from managed code.

O GetRemoveMethod método retorna o método usado para remover um delegado de manipulador de eventos da origem do evento.The GetRemoveMethod method returns the method used to remove an event-handler delegate from the event source.

GetRemoveMethod(Boolean)

Fornece objetos COM com acesso independente de versão para o método GetRemoveMethod(Boolean).Provides COM objects with version-independent access to the GetRemoveMethod(Boolean) method.

public:
 System::Reflection::MethodInfo ^ GetRemoveMethod(bool nonPublic);
public System.Reflection.MethodInfo GetRemoveMethod (bool nonPublic);
abstract member GetRemoveMethod : bool -> System.Reflection.MethodInfo
Public Function GetRemoveMethod (nonPublic As Boolean) As MethodInfo

Parâmetros

nonPublic
Boolean

true para retornar métodos não públicos; caso contrário, false.true to return non-public methods; otherwise, false.

Retornos

MethodInfo

Um objeto MethodInfo representando o método usado para remover um delegado de manipulador de eventos da origem do evento.A MethodInfo object representing the method used to remove an event-handler delegate from the event source.

Comentários

Esse método é para acesso a classes gerenciadas de código não gerenciado e não deve ser chamado a partir de código gerenciado.This method is for access to managed classes from unmanaged code and should not be called from managed code.

O GetRemoveMethod método recupera o MethodInfo objeto para remover um método do evento e especifica se os métodos não públicos devem ser retornados.The GetRemoveMethod method retrieves the MethodInfo object for removing a method of the event and specifies whether to return non-public methods.

Aplica-se a

GetRemoveMethod()

Fornece objetos COM com acesso independente de versão para o método GetRemoveMethod().Provides COM objects with version-independent access to the GetRemoveMethod() method.

public:
 System::Reflection::MethodInfo ^ GetRemoveMethod();
public System.Reflection.MethodInfo GetRemoveMethod ();
abstract member GetRemoveMethod : unit -> System.Reflection.MethodInfo
Public Function GetRemoveMethod () As MethodInfo

Retornos

MethodInfo

Um objeto MethodInfo representando o método usado para remover um delegado de manipulador de eventos da origem do evento.A MethodInfo object representing the method used to remove an event-handler delegate from the event source.

Comentários

Esse método é para acesso a classes gerenciadas de código não gerenciado e não deve ser chamado a partir de código gerenciado.This method is for access to managed classes from unmanaged code and should not be called from managed code.

O GetRemoveMethod método retorna o método usado para remover um delegado de manipulador de eventos da origem do evento.The GetRemoveMethod method returns the method used to remove an event-handler delegate from the event source.

Aplica-se a