---
title: "subscript(_:)"
framework: xpc
role: symbol
role_heading: Instance Subscript
path: "xpc/xpcdictionary/subscript(_:)-11qvo"
---

# subscript(_:)

Get or set a value in this dictionary as a UUID.

## Declaration

```swift
subscript(key: String) -> uuid_t? { get set }
```

## Parameters

- `key`: The key under which to get or set the UUID.

## Return Value

Return Value A UUID value or nil if no such value was found.
