ToolCollection Clear Method Cognex VisionPro 9.20

Remove all items from this collection.

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

public override void Clear()

Implements

ICollection T  Clear 
Remarks

Clearing Raises before the collection is cleared. Cleared Raises after the collection is cleared. Changed Raises because this method changes the Count and Item properties. The following StateFlags may be affected:

  • SfCount
  • SfItem

See Also