DataObjectSettingDataEventArgs Constructor

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.

ExceptionCondition
ArgumentNullException

Raised when dataObject or format is null.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft