GraphicChildren Add Method (IGraphicParentChild, String)Cognex VisionPro 9.21

Inserts the given item at the specified index, with the specified key.

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

public void Add(
	IGraphicParentChild value,
	string key
)
Remarks

InsertingItem Raises before the item is inserted. InsertedItem Raises after the item is inserted. Changed Raises because this method changes the Count and Item properties. The following StateFlags may be affected:

  • SfCount
  • SfItem

See Also