CogVisionDataContainer Insert Method (Int32, KeyValuePair String, ICogVisionData )Cognex VisionPro 9.10
Inserts the supplied key value pair at the specified index.

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

public virtual void Insert(
	int index,
	KeyValuePair<string, ICogVisionData> pair
)

Parameters

index
Type: System Int32
The zero-based index at which to insert the supplied key value pair.
pair
Type: System.Collections.Generic KeyValuePair String, ICogVisionData 

Implements

IList T  Insert(Int32, T)
Exceptions

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