# GetAllTypesWithAPropertyBag()

> Returns all the Type that have a registered property bag.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Properties](/engine/6000.6/script-reference/unity/properties.md)
* **Assembly:** UnityEngine.PropertiesModule

```csharp
public static IEnumerable<Type> GetAllTypesWithAPropertyBag()
```

### Returns

| Type                                                                                                  | Description                                     |
| ----------------------------------------------------------------------------------------------------- | ----------------------------------------------- |
| [IEnumerable\<Type>](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1) | A list of types with a registered property bag. |
