---
title: IExcludeContravariantPropertyAdapter<TContainer, TValue>
product: Unity Editor
version: '6000.0'
latest_version: '7000.0'
status: This page documents version 6000.0. The latest version is 7000.0.
canonical: https://docs.unity.com/en-us/engine/6000.0/script-reference/unity/properties/iexcludecontravariantpropertyadapter2
latest_url: https://docs.unity.com/en-us/engine/7000.0/script-reference/unity/properties/iexcludecontravariantpropertyadapter2.md
last_updated: 2026-09-14
generated_at: 2026-11-19T06:41:43.196Z
locale: en-us
---

# IExcludeContravariantPropertyAdapter<TContainer, TValue>

> Implement this interface to filter visitation for a specific TContainer and TValue pair.

## Definition

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

```csharp
public interface IExcludeContravariantPropertyAdapter<TContainer, in TValue> : IPropertyVisitorAdapter
```
