CogVisionDataContainer Insert Method (Int32, String, ICogVisionData)Cognex VisionPro 9.22
Inserts a key value pair with the supplied string key and ICogVisionData value at the specified index.

Namespace: Cognex.VisionPro
Assembly: Cognex.VisionPro.CorePlus (in Cognex.VisionPro.CorePlus.dll) Version: 87.0.0.0
Syntax

public virtual void Insert(
	int index,
	string key,
	ICogVisionData value
)

Parameters

index
Type: System Int32
The zero-based index at which to insert the specified key value pair.
key
Type: System String
The string key to use for this new item. May not be null, and may not be an empty string.
value
Type: Cognex.VisionPro ICogVisionData
The ICogVisionData value to use for this new item.
Exceptions

ExceptionCondition
[System.ArgumentOutOfRangeException] If index is less than zero or index is greater than Count.
See Also