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

AF SDK Reference

PIPointList.Add Method

  • Last UpdatedNov 18, 2025
  • 2 minute read
PIPointList.Add Method
This method adds the passed PIPoint to the list and returns the index where the point was added.

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

Syntax

public int Add(
	PIPoint point
)
Public Function Add ( 
	point As PIPoint
) As Integer

Dim instance As PIPointList
Dim point As PIPoint
Dim returnValue As Integer

returnValue = instance.Add(point)
public:
int Add(
	PIPoint^ point
)
member Add : 
        point : PIPoint -> int 

Parameters

point
Type: OSIsoft.AF.PIPIPoint
The PIPoint to be added to the list.

Return Value

Type: Int32
Index of the newly added point

Exceptions

ExceptionCondition
ArgumentNullExceptionIf the passed point is .

Remarks

The PIPointList collection allows duplicate PIPoint objects to be added to the list.

Version Information

AFSDK


See Also

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