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