แก้ไข

แชร์ผ่าน


DataChangedEventManager.RemoveHandler Method

Definition

Removes the specified event handler from the specified source.

public:
 static void RemoveHandler(System::Windows::Data::DataSourceProvider ^ source, EventHandler<EventArgs ^> ^ handler);
public static void RemoveHandler (System.Windows.Data.DataSourceProvider source, EventHandler<EventArgs> handler);
static member RemoveHandler : System.Windows.Data.DataSourceProvider * EventHandler<EventArgs> -> unit
Public Shared Sub RemoveHandler (source As DataSourceProvider, handler As EventHandler(Of EventArgs))

Parameters

source
DataSourceProvider

The source object that the raises the DataChanged event.

handler
EventHandler<EventArgs>

The delegate that handles the DataChanged event.

Exceptions

handler is null.

Applies to