TrySetValue<TContainer, TValue>(ref TContainer, in PropertyPath, TValue, out VisitReturnCode)
Sets the value of a property at the given path to the given value, using this converter group or the global ones.
Read time 1 minuteLast updated 11 days ago
Definition
- Type: Method
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
TrySetValue<T, U>(T, PropertyPath, T, VisitReturnCode)
public bool TrySetValue<TContainer, TValue>(ref TContainer container, in PropertyPath path, TValue value, out VisitReturnCode returnCode)
Parameters
The path of the property to set.
The return code of the conversion.
Returns
Type | Description |
|---|---|
| bool | |
Remarks
This method isn't thread-safe.