# IsManagedComponent(TypeIndex)

> TypeIndex.IsManagedComponent

## Definition

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

> **Warning:**
>
> **Removed.** Managed component types are deprecated. This helper will be removed once managed components are no longer supported. First deprecated in 6.6.

```csharp
public static bool IsManagedComponent(TypeIndex typeIndex)
```

### Parameters

**** (\[TypeIndex]\(/engine/7000.0/script-reference/unity/entities/typeindex)): TypeIndex for a component

### Returns

| Type                                                          | Description                                                                                                                                                                                                                             |
| ------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | Returns if the component type [TypeIndex.IsManagedType](/engine/7000.0/script-reference/unity/entities/typeindex/ismanagedtype.md) and inherits from [IComponentData](/engine/7000.0/script-reference/unity/entities/icomponentdata.md) |
