DataSourceProviderSingleton.GetDataSource(String) 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 datasource for a specific data source type
public MixedReality.Toolkit.Data.IDataSource GetDataSource(string dataSourceType);
abstract member GetDataSource : string -> MixedReality.Toolkit.Data.IDataSource
override this.GetDataSource : string -> MixedReality.Toolkit.Data.IDataSource
Public Function GetDataSource (dataSourceType As String) As IDataSource
Parameters
- dataSourceType
- String
Type name assign to desired data source, typically "data" or "theme", but can be any name chosen for that data source.
Returns
Interface to the desired data source.