TryGetValue(TKey, out TValue)
Returns the value associated with a key.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: Unity.Collections
- Assembly: UnityEngine.ManagedKernelModule
TryGetValue(T, T)
public bool TryGetValue(TKey key, out TValue item)
Parameters
Returns
Type | Description |
|---|---|
| bool | True if the key was present. |