DataObjectSettingDataEventArgs Constructor (IDataObject, String)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: