Bewerken

Share via


CurrentChangingEventManager.RemoveListener Method

Definition

Removes the specified listener from the CurrentChanging event of the specified source.

public:
 static void RemoveListener(System::ComponentModel::ICollectionView ^ source, System::Windows::IWeakEventListener ^ listener);
public static void RemoveListener (System.ComponentModel.ICollectionView source, System.Windows.IWeakEventListener listener);
static member RemoveListener : System.ComponentModel.ICollectionView * System.Windows.IWeakEventListener -> unit
Public Shared Sub RemoveListener (source As ICollectionView, listener As IWeakEventListener)

Parameters

source
ICollectionView

The object with the event.

listener
IWeakEventListener

The listener to remove.

Applies to

See also