CurrentChangingEventManager::RemoveHandler Method (ICollectionView^, EventHandler<CurrentChangingEventArgs^>^)

.NET Framework (current version)
 

Removes the specified event handler from the specified source.

Namespace:   System.ComponentModel
Assembly:  WindowsBase (in WindowsBase.dll)

public:
static void RemoveHandler(
	ICollectionView^ source,
	EventHandler<CurrentChangingEventArgs^>^ handler
)

Parameters

source
Type: System.ComponentModel::ICollectionView^

The source object that the raises the CurrentChanging event.

handler
Type: System::EventHandler<CurrentChangingEventArgs^>^

The delegate that handles the CurrentChanging event.

Exception Condition
ArgumentNullException

handler is null.

.NET Framework
Available since 4.5
Return to top
Show: