---
title: key
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/localizedstringresource/key
---

# key

The key to use to look up a localized string.

## Declaration

```swift
let key: String
```

## See Also

### Accessing resource properties

- [defaultValue](foundation/localizedstringresource/defaultvalue.md)
- [table](foundation/localizedstringresource/table.md)
- [bundle](foundation/localizedstringresource/bundle.md)
- [LocalizedStringResource.BundleDescription](foundation/localizedstringresource/bundledescription.md)
- [locale](foundation/localizedstringresource/locale.md)
