GraphicChildren setItem Method (String, IGraphicParentChild)Cognex VisionPro 9.10

Replace the element with the specified key. If the key is not a member of this dictionary, insert the key/value pair.

Namespace: Cognex.Vision
Assembly: Cognex.Vision.Core.Net (in Cognex.Vision.Core.Net.dll) Version: 9.10.0.0
Syntax

public void setItem(
	string key,
	IGraphicParentChild value
)
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