AFRpcMetric.Add Method
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Adds the specified AFRpcMetric to this instance.
Namespace: OSIsoft.AF.Diagnostics
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public AFRpcMetric Add( AFRpcMetric other )
Public Function Add ( other As AFRpcMetric ) As AFRpcMetric Dim instance As AFRpcMetric Dim other As AFRpcMetric Dim returnValue As AFRpcMetric returnValue = instance.Add(other)
public: AFRpcMetric Add( AFRpcMetric other )
member Add : other : AFRpcMetric -> AFRpcMetric
Parameters
- other
- Type: OSIsoft.AF.DiagnosticsAFRpcMetric
The AFRpcMetric to add to this instance.
Return Value
Type: AFRpcMetricReturns the AFRpcMetric that represents the value of this instance plus the value of the other instance.
Remarks
The return value is a new AFRpcMetric; the
original AFRpcMetric is not modified.