Language
Edit

IDataSourceProvider.GetDataSource(String) Method

Definition

Get a datasource for a specific data source type, or null to return 1st or only data source.

public MixedReality.Toolkit.Data.IDataSource GetDataSource(string dataSourceType = default);
abstract member GetDataSource : string -> MixedReality.Toolkit.Data.IDataSource
Public Function GetDataSource (Optional dataSourceType As String = Nothing) 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.

Applies to