PaintEventArgs.IDeviceContext.ReleaseHdc Method

Definition

Releases the handle of a Windows device context.

 virtual void System.Drawing.IDeviceContext.ReleaseHdc() = System::Drawing::IDeviceContext::ReleaseHdc;
void IDeviceContext.ReleaseHdc ();
abstract member System.Drawing.IDeviceContext.ReleaseHdc : unit -> unit
override this.System.Drawing.IDeviceContext.ReleaseHdc : unit -> unit
Sub ReleaseHdc () Implements IDeviceContext.ReleaseHdc

Implements

Remarks

This member is an explicit interface member implementation. It can be used only when the PaintEventArgs instance is cast to an IDeviceContext interface.

Applies to