# GetContentFiles(ContentNamespace)

> Returns all the ContentFile handles associated with the provided ContentNamespace.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Loading](/engine/6000.5/script-reference/unity/loading.md)
* **Assembly:** UnityEngine.ContentLoadModule

```csharp
public static ContentFile[] GetContentFiles(ContentNamespace nameSpace)
```

### Parameters

**** (\[ContentNamespace]\(/engine/6000.5/script-reference/unity/content/contentnamespace)): The ContentNamespace used to filter the results.

### Returns

| Type                                                                            | Description                                                                                                                                                                                                      |
| ------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [ContentFile\[\]](/engine/6000.5/script-reference/unity/loading/contentfile.md) | Returns an array of all the [ContentFile](/engine/6000.5/script-reference/unity/loading/contentfile.md)s belonging to the [ContentNamespace](/engine/6000.5/script-reference/unity/content/contentnamespace.md). |

### Remarks

The results will include all [ContentFile](/engine/6000.5/script-reference/unity/loading/contentfile.md)s regardless of their [ContentFile.LoadingStatus](/engine/6000.5/script-reference/unity/loading/contentfile/loadingstatus.md).
