DataObjectSettingDataEventHandler 委托

定义

表示将处理 SettingData 附加事件的方法。Represents a method that will handle the SettingData attached event.

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

事件处理程序所附加到的对象。The object where the event handler is attached.

e
DataObjectSettingDataEventArgs

事件数据。The event data.

继承
DataObjectSettingDataEventHandler

注解

SettingData复制操作过程中尝试将数据格式添加到数据对象时发生该事件。The SettingData event occurs when an attempt is made to add a data format to the data object during a copy operation.

事件处理程序方法通常用于通过筛选应用于的DataObject不需要的或不需要的数据格式来应用复制命令优化。 SettingDataA SettingData event handler method is typically used to apply copy command optimization by filtering unwanted or unneeded data formats from being applied to a DataObject.

扩展方法

GetMethodInfo(Delegate)

获取指示指定委托表示的方法的对象。Gets an object that represents the method represented by the specified delegate.

适用于