# ContainerFilesSourceAnnotation Properties

- Package: [Aspire.Hosting](/reference/api/csharp/aspire.hosting.md)
- Type: [ContainerFilesSourceAnnotation](/reference/api/csharp/aspire.hosting/containerfilessourceannotation.md)
- Kind: `Properties`
- Members: `1`

Represents an annotation that associates a container file/directory with a resource.

## SourcePath

- Name: `SourcePath`
- Modifiers: `get; init`
- Returns: `string`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/ApplicationModel/ContainerFilesSourceAnnotation.cs)

Gets the file system path to the source file or directory inside the container.

```csharp
public string SourcePath { get; init; }
```
