# 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/a3766e994fd2cba86c8ac60b8a80268cab7e6383/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; }
```
