# Visit<TList, TElement>(IListPropertyBag<TList, TElement>, ref TList)

> Implement this method to accept visitation for a collection of properties.

## Definition

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

## Visit\<T, U>(IListPropertyBag\<T, T>, T)

```csharp
void Visit<TList, TElement>(IListPropertyBag<TList, TElement> properties, ref TList container) where TList : IList<TElement>
```

### Parameters

**** (\[IListPropertyBag\<T, T>]\(/engine/6000.6/script-reference/unity/properties/ilistpropertybag2)): The properties of the container.**** (T): The container being visited.

### Remarks

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