Редагувати

Поділитися через


DataObjectSettingDataEventArgs(IDataObject, String) Constructor

Definition

Initializes a new instance of DataObjectSettingDataEventArgs.

public:
 DataObjectSettingDataEventArgs(System::Windows::IDataObject ^ dataObject, System::String ^ format);
public DataObjectSettingDataEventArgs (System.Windows.IDataObject dataObject, string format);
new System.Windows.DataObjectSettingDataEventArgs : System.Windows.IDataObject * string -> System.Windows.DataObjectSettingDataEventArgs
Public Sub New (dataObject As IDataObject, format As String)

Parameters

dataObject
IDataObject

The DataObject to which a new data format is being added.

format
String

A string specifying the new data format that is being added to the accompanying data object. See the DataFormats class for a set of predefined data formats.

Exceptions

Raised when dataObject or format is null.

Applies to