DataObjectSettingDataEventArgs(IDataObject, String) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.