Edit

Share via


NativeObject Class

Definition

Represents a native object.

public class NativeObject : IDisposable
Inheritance
NativeObject
Derived
Implements

Properties

Handle

Gets or sets the handle to the underlying native object.

Methods

Dispose()

Releases all resources used by this NativeObject.

Dispose(Boolean)

Releases the unmanaged resources used by the NativeObject and optionally releases the managed resources.

DisposeHandler()

Releases the unmanaged resources used.

Finalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.

Applies to