CogVisionDataContainer Add Method (KeyValuePair String, ICogVisionData )Cognex VisionPro 9.22
Adds the supplied key value pair to the end of the container.

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

public virtual void Add(
	KeyValuePair<string, ICogVisionData> pair
)

Parameters

pair
Type: System.Collections.Generic KeyValuePair String, ICogVisionData 
The key value pair to add.
Exceptions

ExceptionCondition
[System.ArgumentNullException] If the supplied key is null.
[System.ArgumentException] If the supplied key is an empty string.
[System.ArgumentException] If the supplied key already exists within the container.
See Also