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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.