DataObjectSettingDataEventArgs Constructor
Collapse the table of content
Expand the table of content

DataObjectSettingDataEventArgs Constructor (IDataObject, String)

 

Initializes a new instance of DataObjectSettingDataEventArgs.

Namespace:   System.Windows
Assembly:  PresentationCore (in PresentationCore.dll)

public DataObjectSettingDataEventArgs(
	IDataObject dataObject,
	string format
)

Parameters

dataObject
Type: System.Windows.IDataObject

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

format
Type: System.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.

Exception Condition
ArgumentNullException

Raised when dataObject or format is null.

.NET Framework
Available since 3.0
Return to top
Show:
© 2016 Microsoft