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

AF SDK Reference

PIPointList.RemoveAt Method

  • Last UpdatedNov 18, 2025
  • 2 minute read
PIPointList.RemoveAt Method
This routine removes the PIPoint at the passed index location. It returns true if the same PIPoint is still in the PIPointList at another location. The index is zero-based.

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

Syntax

public bool RemoveAt(
	int index
)
Public Function RemoveAt ( 
	index As Integer
) As Boolean

Dim instance As PIPointList
Dim index As Integer
Dim returnValue As Boolean

returnValue = instance.RemoveAt(index)
public:
bool RemoveAt(
	int index
)
member RemoveAt : 
        index : int -> bool 

Parameters

index
Type: SystemInt32
Index at which the PIPoint object should be removed. The index is zero-based.

Return Value

Type: Boolean
if the PIPoint still exists at another location in the list.

Exceptions

ExceptionCondition
ArgumentOutOfRangeExceptionIf the index is invalid.

Version Information

AFSDK


See Also

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