Replace the element with the specified key. If the key is not a member of this dictionary, insert the key/value pair.
Assembly: Cognex.Vision.Core.Net (in Cognex.Vision.Core.Net.dll) Version: 9.21.0.0
Syntax
Parameters
- key
- Type: System String
The key of the item to replace.
- value
- Type: Cognex.Vision IGraphicParentChild
The object that will replace the item at the specified key.
Remarks
ReplacingItem If key exists, raises before the item is replaced. ReplacedItem If key exists, raises after the item is replaced. InsertingItem If key does NOT exist, raises before the item is inserted. InsertedItem If key does NOT exist, raises after the item is inserted.
See Also