'Declaration<ExtensionAttribute()> <JetBrains.Annotations.NotNullAttribute()> Public Overloads Shared Function ReadWrite( _ ByVal metric As SparkplugMetric, _ ByVal valueTypeCode As TypeCode, _ ByVal data As SparkplugData _ ) As SparkplugMetric
'UsageDim metric As SparkplugMetric Dim valueTypeCode As TypeCode Dim data As SparkplugData Dim value As SparkplugMetric value = SparkplugMetricExtension.ReadWrite(metric, valueTypeCode, data)
[Extension()] [JetBrains.Annotations.NotNull()] public static SparkplugMetric ReadWrite( SparkplugMetric metric, TypeCode valueTypeCode, SparkplugData data )
[Extension()] [JetBrains.Annotations.NotNull()] public: static SparkplugMetric^ ReadWrite( SparkplugMetric^ metric, TypeCode valueTypeCode, SparkplugData^ data )
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).
- data
- The initial Sparkplug data of the metric.
The value of this parameter cannot be
null(Nothingin Visual Basic).
Return Value
This method never returns null (Nothing in Visual Basic).