TryLoadProperty
Loads a property if any.
Read time 1 minuteLast updated 11 days ago
Definition
- Type: Method
- Namespace: UnityEditor.Search
- Assembly: UnityEditor
TryLoadProperty(ulong, string, PropertyDatabaseRecordKey, Object, string)
Loads a property if any.
public bool TryLoadProperty(ulong documentKey, string propertyName, out PropertyDatabaseRecordKey recordKey, out object value, out string alias)
Parameters
Document id.
Property name.
Computed property key that can be used to do other load or store accesses.
Decoded propety value.
Property alias if any.
Returns
Type | Description |
|---|---|
| bool | Returns true if the property is found. |
TryLoadProperty(PropertyDatabaseRecordKey, Object)
Loads a property if any.
public bool TryLoadProperty(PropertyDatabaseRecordKey recordKey, out object data)
Parameters
Computed property key that can be used to do other load or store accesses.
Decoded propety value.
Returns
Type | Description |
|---|---|
| bool | Returns true if the property is found. |