AFSearchTokenCollection.RemoveAt Method
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Removes the element at the specified index of the ListT.
Namespace: OSIsoft.AF.Search
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 AFSearchTokenCollection 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 element to remove.
Implements
IListTRemoveAt(Int32)
Exceptions
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | index is less than 0.-or-index is equal to or greater than Count. |