DataObject.SetImage(Image) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public:
virtual void SetImage(System::Drawing::Image ^ image);
public virtual void SetImage (System.Drawing.Image image);
abstract member SetImage : System.Drawing.Image -> unit
override this.SetImage : System.Drawing.Image -> unit
Public Overridable Sub SetImage (image As Image)
Parameters
Exceptions
image
is null
.
Remarks
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.
Applies to
See also
Dolgozzon együtt velünk a GitHubon
A tartalom forrása a GitHubon található, ahol létrehozhat és áttekinthet problémákat és lekéréses kérelmeket is. További információért tekintse meg a közreműködői útmutatónkat.