# GetWriteGroupTypes(TypeIndex)

> Deprecated. Used by codegen. Returns list of all type indices for components who have a WriteGroup on the provided type

## Definition

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

> **Warning:**
>
> **Deprecated.** Write groups are deprecated and will be removed in a future release. (RemovedAfter Entities 6.7)

```csharp
public static NativeArray<TypeIndex> GetWriteGroupTypes(TypeIndex typeIndex)
```

### Parameters

**** (\[TypeIndex]\(/engine/7000.0/script-reference/unity/entities/typeindex)): Component type index

### Returns

| Type                                                                                         | Description          |
| -------------------------------------------------------------------------------------------- | -------------------- |
| [NativeArray\<TypeIndex>](/engine/7000.0/script-reference/unity/collections/nativearray1.md) | List of type indices |
