ParameterMetaCollection Insert Method Cognex VisionPro 9.25 SR1

Insert the given item at the specified index.

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

public override void Insert(
	int index,
	ParameterMeta value
)

Parameters

index
Type: System Int32
The zero-based index at which to insert the item.
value
Type: Cognex.Vision.Meta ParameterMeta
The item to be inserted into the collection.

Implements

IList T  Insert(Int32, T)
Exceptions

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

InsertingItem Raises before the item is inserted. InsertedItem Raises after the item is inserted. Changed Raises because this method changes the Count and Item properties. The following StateFlags may be affected:

  • SfCount
  • SfItem

See Also