CurrentChangedEventManager.RemoveHandler Method

Definition

Removes the specified event handler from the specified source.

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

Parameters

source
ICollectionView

The source object that the raises the CurrentChanged event.

handler
EventHandler<EventArgs>

The delegate that handles the CurrentChanged event.

Exceptions

handler is null.

Applies to