Region::ReleaseHrgn Method (IntPtr)

 

Releases the handle of the Region.

Namespace:   System.Drawing
Assembly:  System.Drawing (in System.Drawing.dll)

public:
void ReleaseHrgn(
	IntPtr regionHandle
)

Parameters

regionHandle
Type: System::IntPtr

The handle to the Region.

Exception Condition
ArgumentNullException

regionHandle is null.

SecurityPermission

for access to unmanaged code. Related enumeration SecurityPermissionFlag.

.NET Framework
Available since 2.0
Return to top
Show: