# Accept<TContainer>(ICollectionPropertyVisitor, Property<TContainer, TCollection>, ref TContainer, ref TCollection)

> Call this method to invoke ICollectionPropertyVisitor.Visit.

## Definition

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

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

```csharp
void Accept<TContainer>(ICollectionPropertyVisitor visitor, Property<TContainer, TCollection> property, ref TContainer container, ref TCollection collection)
```

### Parameters

**** (\[ICollectionPropertyVisitor]\(/engine/6000.7/script-reference/unity/properties/icollectionpropertyvisitor)): The visitor being run.**** (\[Property\<T, T>]\(/engine/6000.7/script-reference/unity/properties/property2)): The property being visited.**** (T): The container being visited.**** (T): The collection value

### Remarks

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