Region.ReleaseHrgn Method (IntPtr)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: