IDataSource.SetDataKeyPathMapper(IDataKeyPathMapper) 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.
Set a key path mapper.
public void SetDataKeyPathMapper(MixedReality.Toolkit.Data.IDataKeyPathMapper dataKeyPathMapper);
abstract member SetDataKeyPathMapper : MixedReality.Toolkit.Data.IDataKeyPathMapper -> unit
Public Sub SetDataKeyPathMapper (dataKeyPathMapper As IDataKeyPathMapper)
Parameters
- dataKeyPathMapper
- IDataKeyPathMapper
Data key path mapper to assign.
Remarks
If the view (data consumer) uses generic key paths that are not the same as the data source, then this mapper will translate between data and view key paths. This allows a generic view to be used with a wide variety of data sources without modification.