DataConsumerThemableBase<T>.GetObjectByThemeLookupKey Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get a value within a binding profile using this keyValue string.
protected virtual T GetObjectByThemeLookupKey(MixedReality.Toolkit.Data.DataConsumerThemableBase.BindingInfo binding, string keyValue);
abstract member GetObjectByThemeLookupKey : MixedReality.Toolkit.Data.DataConsumerThemableBase.BindingInfo * string -> 'T
override this.GetObjectByThemeLookupKey : MixedReality.Toolkit.Data.DataConsumerThemableBase.BindingInfo * string -> 'T
Protected Overridable Function GetObjectByThemeLookupKey (binding As DataConsumerThemableBase.BindingInfo, keyValue As String) As T
Parameters
The binding to use when resolve the request object at index keyValue.
- keyValue
- String
The key for looking up an object of type T.
Returns
Found object of type T or null if not found
Remarks
Override this method to support data sources that provide string key values that can be then used as a dictionary lookup of the appropriate theme relative or absolute keypath. If not already present in the returned value, the keypath will be appended to the base keypath provided in the DataConsumerThemeHelper.