Method AsReadOnly
AsReadOnly()
Returns a readonly version of this NativeHashMap instance.
Declaration
public NativeHashMap<TKey, TValue>.ReadOnly AsReadOnly()
Returns
| Type | Description |
|---|---|
| NativeHashMap<TKey, TValue>.ReadOnly | ReadOnly instance for this. |
Remarks
ReadOnly containers point to the same underlying data as the NativeHashMap it is made from.