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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.