# GetDynamicSharedComponentTypeHandle(ComponentType)

> Manually gets the run-time type information required to access a shared component data in a chunk.

## Definition

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

```csharp
public DynamicSharedComponentTypeHandle GetDynamicSharedComponentTypeHandle(ComponentType componentType)
```

### Parameters

**** (\[ComponentType]\(/engine/7000.0/script-reference/unity/entities/componenttype)): The component type to get access to.

### Returns

| Type                                                                                                                   | Description                                                                                                    |
| ---------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- |
| [DynamicSharedComponentTypeHandle](/engine/7000.0/script-reference/unity/entities/dynamicsharedcomponenttypehandle.md) | An object representing the type information required to safely access shared component data stored in a chunk. |

### Remarks

Remember to call [DynamicSharedComponentTypeHandle.Update](/engine/7000.0/script-reference/unity/entities/dynamicsharedcomponenttypehandle/update.md).
