# IResourceWithParent Properties

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

Represents a resource that has a parent resource.

## Parent

- Name: `Parent`
- Modifiers: `abstract` `get`
- Returns: [IResource](/reference/api/csharp/aspire.hosting/iresource.md)

Gets the parent resource.

```csharp
public abstract IResource Parent { get; }
```
