TryGetProperty(ref KeyValuePair<TKey, TValue>, string, out IProperty<KeyValuePair<TKey, TValue>>)
Gets the property associated with the specified name.
Read time 1 minuteLast updated 14 days ago
Definition
- Type: Method
- Namespace: Unity.Properties
- Assembly: UnityEngine.PropertiesModule
TryGetProperty(KeyValuePair<T, T>, string, IProperty<KeyValuePair<T, T>>)
public bool TryGetProperty(ref KeyValuePair<TKey, TValue> container, string name, out IProperty<KeyValuePair<TKey, TValue>> property)
Parameters
The container hosting the data.
The name of the property to get.
When this method returns, contains the property associated with the specified name, if the name is found; otherwise, null.
Returns
Type | Description |
|---|---|
| bool | |