---
title: DynamicPropertyPathCollection
framework: appintentstesting
role: symbol
role_heading: Structure
path: appintentstesting/dynamicpropertypathcollection
---

# DynamicPropertyPathCollection

Indexed result items from an intent value query.

## Declaration

```swift
struct DynamicPropertyPathCollection
```

## Overview

Overview Access query results by index and navigate their properties using dynamic member lookup: let result = try await searchQuery.values(for: "Arizona")

XCTAssertEqual(result.items.count, 3) XCTAssertEqual(try result.items[0].name, "Botanical Garden")

## Topics

### Instance Properties

- [count](appintentstesting/dynamicpropertypathcollection/count.md)
- [isEmpty](appintentstesting/dynamicpropertypathcollection/isempty.md)

### Subscripts

- [subscript(_:)](appintentstesting/dynamicpropertypathcollection/subscript(_:)-6t8mq.md)
- [subscript(_:)](appintentstesting/dynamicpropertypathcollection/subscript(_:)-700kp.md)
- [subscript(_:)](appintentstesting/dynamicpropertypathcollection/subscript(_:)-8h9mv.md)

## Relationships

### Conforms To

- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Supporting types

- [AppIntentTypeDefinition](appintentstesting/appintenttypedefinition.md)
- [DynamicPropertyPath](appintentstesting/dynamicpropertypath.md)
- [IntentValuePropertiesCallable](appintentstesting/intentvaluepropertiescallable.md)
