共用方式為


ErrorsChangedEventManager.RemoveHandler 方法

定義

從指定的來源中移除指定的事件處理常式。

public:
 static void RemoveHandler(System::ComponentModel::INotifyDataErrorInfo ^ source, EventHandler<System::ComponentModel::DataErrorsChangedEventArgs ^> ^ handler);
public static void RemoveHandler (System.ComponentModel.INotifyDataErrorInfo source, EventHandler<System.ComponentModel.DataErrorsChangedEventArgs> handler);
static member RemoveHandler : System.ComponentModel.INotifyDataErrorInfo * EventHandler<System.ComponentModel.DataErrorsChangedEventArgs> -> unit
Public Shared Sub RemoveHandler (source As INotifyDataErrorInfo, handler As EventHandler(Of DataErrorsChangedEventArgs))

參數

source
INotifyDataErrorInfo

引發 ErrorsChanged 事件的來源物件。

handler
EventHandler<DataErrorsChangedEventArgs>

處理 ErrorsChanged 事件的委派。

例外狀況

handlernull

適用於