# GetDynamicComponentTypeHandle(ComponentType)

> Gets the dynamic type object required to access a chunk component of dynamic type acquired from reflection.

## Definition

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

```csharp
public DynamicComponentTypeHandle GetDynamicComponentTypeHandle(ComponentType componentType)
```

### Parameters

**** (\[ComponentType]\(/engine/7000.0/script-reference/unity/entities/componenttype)): Type of the component

### Returns

| Type                                                                                                       | Description                                     |
| ---------------------------------------------------------------------------------------------------------- | ----------------------------------------------- |
| [DynamicComponentTypeHandle](/engine/7000.0/script-reference/unity/entities/dynamiccomponenttypehandle.md) | The run-time type information of the component. |

### Remarks

To access a component stored in a chunk, you must have the type registry information for the component. This function provides that information. Use the returned [DynamicComponentTypeHandle](/engine/7000.0/script-reference/unity/entities/dynamiccomponenttypehandle.md) object with the functions of an [ArchetypeChunk](/engine/7000.0/script-reference/unity/entities/archetypechunk.md) object to get information about the components in that chunk and to access the component values.
