SKNativeObject Class

Definition

Represents a native object.

public class SKNativeObject : IDisposable
Inheritance
SKNativeObject
Derived
Implements

Remarks

This object just wraps a native handle with the managed dispose pattern. For a tracked object, use SKObject.

Properties

Handle

Gets or sets the handle to the underlying native object.

Methods

Dispose()

Releases all resources used by this SKNativeObject.

Dispose(Boolean)

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

Finalize()

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

Applies to