---
title: "subscript(dynamicMember:)"
framework: foundation
role: symbol
role_heading: Instance Subscript
path: "foundation/progressreporter/subscript(dynamicmember:)-114si"
---

# subscript(dynamicMember:)

Gets or sets custom string properties.

## Declaration

```swift
final subscript<P>(dynamicMember key: KeyPath<ProgressManager.Properties, P.Type>) -> String? where P : ProgressManager.Property, P.Summary == [String?], P.Value == String? { get }
```

## Parameters

- `key`: A key path to the custom string property type.

## Overview

Overview This subscript provides read-write access to custom progress properties where the value type is String? and the summary type is [String?]. If the property has not been set, the getter returns the property’s default value.
