AFAnnotations.RemoveAt Method
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Removes the item at the specified index of the collection.
Namespace: OSIsoft.AF.Data
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public void RemoveAt( int index )
Public Sub RemoveAt ( index As Integer ) Dim instance As AFAnnotations Dim index As Integer instance.RemoveAt(index)
public: virtual void RemoveAt( int index ) sealed
abstract RemoveAt : index : int -> unit override RemoveAt : index : int -> unit
Parameters
- index
- Type: SystemInt32
The zero-based index of the item to remove.
Implements
IListTRemoveAt(Int32)
Exceptions
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | index is less than zero or is equal to or greater than Count. |
Remarks
This method is an O(n) operation, where n is Count.