# Accept<TContainer>(IListPropertyVisitor, Property<TContainer, TList>, ref TContainer, ref TList)

> Call this method to invoke IListPropertyVisitor.Visit.

## Definition

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

## Accept\<T>(IListPropertyVisitor, Property\<T, T>, T, T)

```csharp
void Accept<TContainer>(IListPropertyVisitor visitor, Property<TContainer, TList> property, ref TContainer container, ref TList list)
```

### Parameters

**** (\[IListPropertyVisitor]\(/engine/6000.5/script-reference/unity/properties/ilistpropertyvisitor)): The visitor being run.**** (\[Property\<T, T>]\(/engine/6000.5/script-reference/unity/properties/property2)): The property being visited.**** (T): The container being visited.**** (T): The list value.

### Remarks

This method is used to join the container type and element type.
