DataObjectSettingDataEventHandler 代理人

定義

代表一個能處理附加事件的方法 SettingData

public delegate void DataObjectSettingDataEventHandler(System::Object ^ sender, DataObjectSettingDataEventArgs ^ e);
public delegate void DataObjectSettingDataEventHandler(object sender, DataObjectSettingDataEventArgs e);
type DataObjectSettingDataEventHandler = delegate of obj * DataObjectSettingDataEventArgs -> unit
Public Delegate Sub DataObjectSettingDataEventHandler(sender As Object, e As DataObjectSettingDataEventArgs)

參數

sender
Object

事件處理程式所附加的物件。

e
DataObjectSettingDataEventArgs

事件資料。

備註

SettingData當複製操作嘗試為資料物件加入資料格式時,會發生該事件。

SettingData事件處理方法通常用於套用複製命令優化,透過過濾不需要或不想要的資料格式來DataObject套用。

擴充方法

名稱 Description
GetMethodInfo(Delegate)

取得一個代表指定代理所代表方法的物件。

適用於