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