CurrentChangingEventManager.RemoveHandler 方法

定义

从指定源中移除指定的事件处理程序。

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))

参数

source
ICollectionView

引发 CurrentChanging 事件的源对象。

handler
EventHandler<CurrentChangingEventArgs>

委托处理 CurrentChanging 事件。

例外

handlernull

适用于