# key

> The key of the record.

## Definition

* **Type:** Property
* **Namespace:** [UnityEditor.Search](/engine/6000.6/script-reference/unityeditor/search.md)
* **Assembly:** UnityEditor

```csharp
PropertyDatabaseRecordKey key { get; }
```

### Remarks

The key describes what is stored and is used to sort the records for faster retrieval.

Additional Resources: [PropertyDatabase.CreateRecordKey](/engine/6000.6/script-reference/unityeditor/search/propertydatabase/createrecordkey.md) and [PropertyDatabaseRecordKey](/engine/6000.6/script-reference/unityeditor/search/propertydatabaserecordkey.md)
