OCRFieldingPatternDictionary setItem Method Cognex VisionPro 9.23

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.ViDiEL
Assembly: Cognex.Vision.ViDiELOCR.Net (in Cognex.Vision.ViDiELOCR.Net.dll) Version: 9.24.0.0
Syntax

public override void setItem(
	string key,
	OCRFieldingPattern 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. Changed Raises because this method changes the Count and Item properties. The following StateFlags may be affected:

  • SfCount
  • SfItem

See Also