# AsReadOnly()

> Returns a read only of this list.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Collections.LowLevel.Unsafe](/engine/6000.7/script-reference/unity/collections/lowlevel/unsafe.md)
* **Assembly:** UnityEngine.ManagedKernelModule

```csharp
public UnsafePtrList<T>.ReadOnly AsReadOnly()
```

### Returns

| Type                                                                                                     | Description               |
| -------------------------------------------------------------------------------------------------------- | ------------------------- |
| [ReadOnly](/engine/6000.7/script-reference/unity/collections/lowlevel/unsafe/unsafeptrlist1/readonly.md) | A read only of this list. |
