# Visit<TSet, TValue>(ISetPropertyBag<TSet, TValue>, ref TSet)

> 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>(ISetPropertyBag\<T, T>, T)

```csharp
void Visit<TSet, TValue>(ISetPropertyBag<TSet, TValue> properties, ref TSet container) where TSet : ISet<TValue>
```

### Parameters

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

### Remarks

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