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