PIPointList.CurrentValue Method
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Returns an AFListResultsTKey, TResult object containing a list of AFValue objects representing the current value for the PIPoint objects in the list.
The order of the AFValue objects in the results list is the same order as the corresponding PIPoint in the PIPointList.
Point level error and PIServer level errors can be accessed in the AFListResultsTKey, TResult error collections.
Namespace: OSIsoft.AF.PI
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public AFListResults<PIPoint, AFValue> CurrentValue()
Public Function CurrentValue As AFListResults(Of PIPoint, AFValue) Dim instance As PIPointList Dim returnValue As AFListResults(Of PIPoint, AFValue) returnValue = instance.CurrentValue()
public: AFListResults<PIPoint^, AFValue^>^ CurrentValue()
member CurrentValue : unit -> AFListResults<PIPoint, AFValue>
Return Value
Type: AFListResultsPIPoint, AFValueA list of AFValue objects representing the current values for the PIPoint objects in the list. The results are returned as an AFListResultsTKey, TResult object. If any point level or server level errors occur, they added to the corresponding error collections in the AFListResultsTKey, TResult