'Declaration<ExtensionAttribute()> <JetBrains.Annotations.NotNullAttribute()> Public Overloads Shared Function ValueType( _ ByVal metric As SparkplugMetric, _ ByVal dataType As SparkplugDataType _ ) As SparkplugMetric
'UsageDim metric As SparkplugMetric Dim dataType As SparkplugDataType Dim value As SparkplugMetric value = SparkplugMetricExtension.ValueType(metric, dataType)
[Extension()] [JetBrains.Annotations.NotNull()] public static SparkplugMetric ValueType( SparkplugMetric metric, SparkplugDataType dataType )
[Extension()] [JetBrains.Annotations.NotNull()] public: static SparkplugMetric^ ValueType( SparkplugMetric^ metric, SparkplugDataType dataType )
Parameters
- metric
- The Sparkplug metric that will perform the operation.
The value of this parameter cannot be
null(Nothingin Visual Basic). - dataType
- The Sparkplug data type of the metric.
Return Value
This method never returns null (Nothing in Visual Basic).