Adds to the end of the container a key value pair
using the supplied key string and ICogVisionData value.
Namespace: Cognex.VisionProAssembly: Cognex.VisionPro.CorePlus (in Cognex.VisionPro.CorePlus.dll) Version: 85.1.0.0
Syntax
Parameters
- key
- Type: System String
The key string to be used.
- value
- Type: Cognex.VisionPro ICogVisionData
The ICogVisionData value reference to be used.
Implements
IDictionary TKey, TValue Add(TKey, TValue)Exceptions
| Exception | Condition |
|---|---|
| [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