# IsExcluded<TContainer, TValue>(Property<TContainer, TValue>, ref TContainer, ref TValue)

> Called before visiting each property to determine if the property should be visited.

## Definition

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

## IsExcluded\<T, U>(Property\<T, T>, T, T)

```csharp
protected virtual bool IsExcluded<TContainer, TValue>(Property<TContainer, TValue> property, ref TContainer container, ref TValue value)
```

### Parameters

**** (\[Property\<T, T>]\(/engine/6000.7/script-reference/unity/properties/property2)): The property providing access to the data.**** (T): The container being visited.**** (T): The value being visited.

### Returns

| Type                                                          | Description                                                   |
| ------------------------------------------------------------- | ------------------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | `true` if the property should be skipped; otherwise, `false`. |

### Remarks

This method is called after all [IExcludePropertyAdapter\<TValue>](/engine/6000.7/script-reference/unity/properties/iexcludepropertyadapter1.md) have had a chance to run.
