---
title: "keyWithLocalID(_:)"
framework: coremedia
role: symbol
role_heading: Instance Method
path: "coremedia/cmformatdescription/keywithlocalid(_:)"
---

# keyWithLocalID(_:)

Returns the metadata for the local identifier you specify.

## Declaration

```swift
func keyWithLocalID(_ localKeyID: OSType) -> [String : CFPropertyList]?
```

## Parameters

- `localKeyID`: The local identifier that represents the key you associate with the metadata description.
