# Sync()

> Synchronizes the views so they have access to the same content.

## Definition

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

```csharp
void Sync()
```

### Remarks

This flushes the internal filestream of the view, so the data is written on disk and available to the other views. When [PropertyDatabase.GetView](/engine/6000.5/script-reference/unityeditor/search/propertydatabase/getview.md) is called with **delayedSync** set to true, the view is only synced when disposed. Otherwise the view is synced each time a store or invalidate happens. This allows you to sync the view whenever you need before disposing it.
