# INativeDisposable

> For scheduling release of unmanaged resources.

## Definition

* **Type:** Interface
* **Namespace:** [Unity.Collections](/engine/6000.7/script-reference/unity/collections.md)
* **Assembly:** UnityEngine.ManagedKernelModule

```csharp
public interface INativeDisposable : IDisposable
```

## Methods

| Method                                                                                    | Description                                                                                                 |
| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- |
| [Dispose](/engine/6000.7/script-reference/unity/collections/inativedisposable/dispose.md) | Creates and schedules a job that will release all resources (memory and safety handles) of this collection. |

## Inheritance

**Inherited Members:**

* [IDisposable.Dispose()](https://learn.microsoft.com/dotnet/api/system.idisposable.dispose)
