PIPointList.RemoveAt Method
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
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: Booleanif the PIPoint still exists at another location in the list.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | If the index is invalid. |