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

AF SDK Reference

PIPoint.UpdateValues Method (IList(AFValue), AFUpdateOption)

PIPoint.UpdateValues Method (IList(AFValue), AFUpdateOption)

  • Last UpdatedNov 18, 2025
  • 2 minute read
PIPoint.UpdateValues Method (IList(AFValue), AFUpdateOption)
Update multiple values for the PIPoint.

Namespace:  OSIsoft.AF.PI
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182

Syntax

public AFErrors<AFValue> UpdateValues(
	IList<AFValue> values,
	AFUpdateOption option
)
Public Function UpdateValues ( 
	values As IList(Of AFValue),
	option As AFUpdateOption
) As AFErrors(Of AFValue)

Dim instance As PIPoint
Dim values As IList(Of AFValue)
Dim option As AFUpdateOption
Dim returnValue As AFErrors(Of AFValue)

returnValue = instance.UpdateValues(values, 
	option)
public:
AFErrors<AFValue^>^ UpdateValues(
	IList<AFValue^>^ values, 
	AFUpdateOption option
)
member UpdateValues : 
        values : IList<AFValue> * 
        option : AFUpdateOption -> AFErrors<AFValue> 

Parameters

values
Type: System.Collections.GenericIListAFValue
The list of values with an associated PIPoint for each value.
option
Type: OSIsoft.AF.DataAFUpdateOption
Indicates how to treat duplicate values in the archive.

Return Value

Type: AFErrorsAFValue
If there are no errors, then is returned. Otherwise an AFErrorsTKey instance containing error information is returned.

Remarks

If not specified in AFSDK.config, the AFBufferOption is defaulted to BufferIfPossible. The default buffering option for the current AF SDK client instance can be modified via the static property AFData.BufferOption.

Important note Important
Exception reporting is not handled automatically by the AF SDK. Historically, exception reporting has been handled by the application writing data (i.e. Uniint-based interfaces).

Version Information

AFSDK


See Also

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