Struct NativeHashMap<TKey, TValue>.Concurrent
Namespace: Unity.Collections
Syntax
public struct Concurrent
Properties
Capacity
Declaration
public int Capacity { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
Methods
TryAdd(TKey, TValue)
Declaration
public bool TryAdd(TKey key, TValue item)
Parameters
| Type | Name | Description |
|---|---|---|
| TKey | key | |
| TValue | item |
Returns
| Type | Description |
|---|---|
| System.Boolean |