DataObject::SetImage Method (Image^)
.NET Framework (current version)
Namespace:
System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Return to top
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
| Exception | Condition |
|---|---|
| ArgumentNullException | image is null. |
To retrieve image data from the data object, first use the ContainsImage method to determine whether the data object contains image data before retrieving it with the GetImage method.
.NET Framework
Available since 2.0
Available since 2.0
Show: