---
title: "summary(of:)"
framework: foundation
role: symbol
role_heading: Instance Method
path: "foundation/progressreporter/summary(of:)-5klzp"
---

# summary(of:)

Returns a summary for the specified string property across the progress subtree.

## Declaration

```swift
final func summary<P>(of property: KeyPath<ProgressManager.Properties, P.Type>) -> [String?] where P : ProgressManager.Property, P.Summary == [String?], P.Value == String?
```

## Parameters

- `property`: The type of the string property to summarize. Must be a property where both the value and summary types are String.

## Return Value

Return Value The aggregated summary value for the specified property across the entire subtree.

## Discussion

Discussion This method aggregates the values of a custom string property from the underlying progress manager and all its children, returning a consolidated summary value.
