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