CurrentChangedEventManager::RemoveHandler Method (ICollectionView^, EventHandler<EventArgs^>^)
.NET Framework (current version)
Removes the specified event handler from the specified source.
Assembly: WindowsBase (in WindowsBase.dll)
public: static void RemoveHandler( ICollectionView^ source, EventHandler<EventArgs^>^ handler )
Parameters
- source
-
Type:
System.ComponentModel::ICollectionView^
The source object that the raises the CurrentChanged event.
- handler
-
Type:
System::EventHandler<EventArgs^>^
The delegate that handles the CurrentChanged event.
| Exception | Condition |
|---|---|
| ArgumentNullException | handler is null. |
.NET Framework
Available since 4.5
Available since 4.5
Show: