# Visit<TContainer>(IPropertyBag<TContainer>, ref TContainer)

> Implement this method to accept visitation for a property bag and container.

## Definition

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

## Visit\<T>(IPropertyBag\<T>, T)

```csharp
void Visit<TContainer>(IPropertyBag<TContainer> properties, ref TContainer container)
```

### Parameters

**** (\[IPropertyBag\<T>]\(/engine/6000.3/script-reference/unity/properties/ipropertybag)): The properties of the container.**** (T): The container being visited.

### Remarks

This method is invoked by [IPropertyBag\<TContainer>.Accept](/engine/6000.3/script-reference/unity/properties/ipropertybag1/accept.md).
