# StoreAlias(PropertyDatabaseRecordKey, string)

> Store a property alias in the property string table.

## Definition

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

```csharp
public void StoreAlias(PropertyDatabaseRecordKey key, string alias)
```

### Parameters

**** (\[PropertyDatabaseRecordKey]\(/engine/6000.6/script-reference/unityeditor/search/propertydatabaserecordkey)): Property key.**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): Alias to be set.
