|
DataSourceValueCacheGetDefaultInstance Method
|
Gets a default instance of the specified data source value type (by index).
Namespace: GrafanaAdapters.DataSourcesAssembly: GrafanaAdapters (in GrafanaAdapters.dll) Version: 2.4.171-beta
Syntax GrafanaAdapters.DataSources.DataSourceValueCache.GetDefaultInstance = function(dataTypeIndex);
View SourceParameters
- dataTypeIndex Int32
- Index of target IDataSourceValue to lookup.
Return Value
IDataSourceValueDefault instance of the specified data source value type, found by index.
Exceptions Remarks
Use this method to provide a cleaner, more specific, error message to the user when a
data source value type is specified that is not found.
See Also