# SetValue(ref TContainer, object)

> Sets the property value of a specified container.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Properties](/engine/6000.0/script-reference/unity/properties.md)
* **Assembly:** UnityEngine.PropertiesModule

## SetValue(T, Object)

```csharp
void SetValue(ref TContainer container, object value)
```

### Parameters

**** (T): The container whose property value will be set.**** (\[Object]\(https\://learn.microsoft.com/dotnet/api/system.object)): The new property value.
