Replace the element at the specified index.
Assembly: Cognex.Vision.Core.Net (in Cognex.Vision.Core.Net.dll) Version: 9.25.1.0
Syntax
Parameters
- index
- Type: System Int32
The zero-based index of the item to replace.
- value
- Type: Cognex.Vision ITool
The item that will replace the item at the specified index.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | If index is less than zero or index is greater than or equal to Count. |
Remarks
ReplacingItem Raises before the item is replaced. ReplacedItem Raises after the item is replaced.
See Also