DataObject.SetData Method (Object)
Stores the specified data in this data object, automatically determining the data format from the source object type.
Assembly: PresentationCore (in PresentationCore.dll)
This method adds data with auto-conversion enabled (the same as calling SetData(String, Object, Boolean) with autoConvert set to true).
for permission to transfer data to the system Clipboard. Associated enumeration: AllClipboard.
Available since 3.0
Available since 4.0