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

AF SDK Reference

PIPointList.Insert Method

  • Last UpdatedNov 18, 2025
  • 2 minute read
PIPointList.Insert Method
This method inserts the passed in PIPoint object into the PIPointList at the given zero-based index.

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

Syntax

public void Insert(
	int index,
	PIPoint point
)
Public Sub Insert ( 
	index As Integer,
	point As PIPoint
)

Dim instance As PIPointList
Dim index As Integer
Dim point As PIPoint

instance.Insert(index, point)
public:
void Insert(
	int index, 
	PIPoint^ point
)
member Insert : 
        index : int * 
        point : PIPoint -> unit 

Parameters

index
Type: SystemInt32
The zero-based index where the point will be inserted.
point
Type: OSIsoft.AF.PIPIPoint
The PIPoint to be inserted into the list.

Exceptions

ExceptionCondition
ArgumentOutOfRangeExceptionIf the index is invalid.
ArgumentNullExceptionIf the 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