AFDefaultDeliveryFormats.RemoveAt Method
- Last UpdatedJan 12, 2026
- 2 minute read
- PI System
- AF SDK 3.2.0
- Developer
Removes the item at the specified index of the collection.
Namespace: OSIsoft.AF.Notification
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.2.0.7
Syntax
public void RemoveAt( int index )
Public Sub RemoveAt ( index As Integer ) Dim instance As AFDefaultDeliveryFormats 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)IListRemoveAt(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.