แก้ไข

แชร์ผ่าน


CurrentChangingEventManager.RemoveHandler Method

Definition

Removes the specified event handler from the specified source.

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

Parameters

source
ICollectionView

The source object that the raises the CurrentChanging event.

handler
EventHandler<CurrentChangingEventArgs>

The delegate that handles the CurrentChanging event.

Exceptions

handler is null.

Applies to