# documentKey

> The key of the document owning the property.

## Definition

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

```csharp
public readonly ulong documentKey
```

### Remarks

A document key is useful when you store multiple properties of an asset or game object, and want to invalidate them all when it is modified.

Additional Resources: [PropertyDatabase.CreateDocumentKey](/engine/6000.5/script-reference/unityeditor/search/propertydatabase/createdocumentkey.md) and [PropertyDatabase.Invalidate](/engine/6000.5/script-reference/unityeditor/search/propertydatabase/invalidate.md).
