Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AF SDK Reference

AFRpcMetric.Subtract Method

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFRpcMetric.Subtract Method
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: AFRpcMetric
Returns 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.

Version Information

AFSDK


See Also

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in