TryLoadProperty
Loads a property if any.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
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. |