Table of Contents

Class SurfaceClassUnownedHandle

Namespace
Gdk.Internal
Assembly
Gdk-4.0.dll
public class SurfaceClassUnownedHandle : SurfaceClassHandle, IDisposable
Inheritance
SurfaceClassUnownedHandle
Implements
Inherited Members

Constructors

SurfaceClassUnownedHandle(IntPtr)

Creates a new instance of SurfaceClassUnownedHandle. Assumes that the given pointer is unowned by the runtime.

public SurfaceClassUnownedHandle(IntPtr ptr)

Parameters

ptr IntPtr

Properties

NullHandle

public static SurfaceClassUnownedHandle NullHandle { get; }

Property Value

SurfaceClassUnownedHandle

Methods

ReleaseHandle()

When overridden in a derived class, executes the code required to free the handle.

protected override bool ReleaseHandle()

Returns

bool

true if the handle is released successfully; otherwise, in the event of a catastrophic failure, false. In this case, it generates a releaseHandleFailed Managed Debugging Assistant.