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

AF SDK Reference

AFAnnotations.RemoveAt Method

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFAnnotations.RemoveAt Method
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

ExceptionCondition
ArgumentOutOfRangeExceptionindex is less than zero or is equal to or greater than Count.

Remarks

This method is an O(n) operation, where n is Count.

Version Information

AFSDK


See Also

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