StringCollection RemoveAt Method Cognex VisionPro 9.22

Remove the item at the specified index.

Namespace: Cognex.Vision
Assembly: Cognex.Vision.Core.Net (in Cognex.Vision.Core.Net.dll) Version: 9.22.2.0
Syntax

public override void RemoveAt(
	int index
)

Parameters

index
Type: System Int32
The zero-based index of the item to remove.

Implements

IList T  RemoveAt(Int32)
Exceptions

ExceptionCondition
ArgumentOutOfRangeExceptionIf index is less than zero or index is greater than or equal to Count.
Remarks

RemovingItem Raises before the item is removed. RemovedItem Raises after the item is removed. Changed Raises because this method changes the Count and Item properties. The following StateFlags may be affected:

  • SfCount
  • SfItem

See Also