# Deconstruct(out T1, out T2, out T3, out T4, out T5, out T6, out T7, out Entity)

> Clean up an existing object.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Entities](/engine/7000.0/script-reference/unity/entities.md)
* **Assembly:** UnityEngine.EntitiesModule

## Deconstruct(T, T, T, T, T, T, T, Entity)

```csharp
public void Deconstruct(out T1 item1, out T2 item2, out T3 item3, out T4 item4, out T5 item5, out T6 item6, out T7 item7, out Entity entity)
```

### Parameters

**** (T): The value for `T1`.**** (T): The value for `T2`.**** (T): The value for `T3`.**** (T): The value for `T4`.**** (T): The value for `T5`.**** (T): The value for `T6`.**** (T): The value for `T7`.**** (\[Entity]\(/engine/7000.0/script-reference/unity/entities/entity)): The entity

### Remarks

Objects of this type are typically created and destroyed automatically by the source generators.

Additional Resources: [QueryEnumerableWithEntity\<T, U, V, W, X, Y, Z>](/engine/7000.0/script-reference/unity/entities/queryenumerablewithentity7/ctor.md)
