Compartilhar via


CurrentChangingEventManager.RemoveHandler Método

Definição

Remove o manipulador de eventos especificado da fonte especificada.

public:
 static void RemoveHandler(System::ComponentModel::ICollectionView ^ source, EventHandler<System::ComponentModel::CurrentChangingEventArgs ^> ^ handler);
public static void RemoveHandler (System.ComponentModel.ICollectionView source, EventHandler<System.ComponentModel.CurrentChangingEventArgs> handler);
static member RemoveHandler : System.ComponentModel.ICollectionView * EventHandler<System.ComponentModel.CurrentChangingEventArgs> -> unit
Public Shared Sub RemoveHandler (source As ICollectionView, handler As EventHandler(Of CurrentChangingEventArgs))

Parâmetros

source
ICollectionView

O objeto de origem que gera o evento CurrentChanging.

handler
EventHandler<CurrentChangingEventArgs>

O delegado que manipula o evento CurrentChanging.

Exceções

handler é null.

Aplica-se a