# TryLoadAlias(PropertyDatabaseRecordKey, out string)

> Gets a property alias if any.

## Definition

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

## TryLoadAlias(PropertyDatabaseRecordKey, string)

```csharp
public bool TryLoadAlias(PropertyDatabaseRecordKey recordKey, out string alias)
```

### Parameters

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

### Returns

| Type                                                          | Description                                |
| ------------------------------------------------------------- | ------------------------------------------ |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | Returns true if the property has an alias. |
