共用方式為


DataObject.RemoveCopyingHandler 方法

定義

從所指定相依性物件中移除 Copying 事件處理常式。

public:
 static void RemoveCopyingHandler(System::Windows::DependencyObject ^ element, System::Windows::DataObjectCopyingEventHandler ^ handler);
public static void RemoveCopyingHandler (System.Windows.DependencyObject element, System.Windows.DataObjectCopyingEventHandler handler);
static member RemoveCopyingHandler : System.Windows.DependencyObject * System.Windows.DataObjectCopyingEventHandler -> unit
Public Shared Sub RemoveCopyingHandler (element As DependencyObject, handler As DataObjectCopyingEventHandler)

參數

element
DependencyObject

要從中移除事件處理常式的相依性物件 (UIElementContentElement)。

handler
DataObjectCopyingEventHandler

委派,參考處理常式方法以移除。

適用於

另請參閱