ToolPinTrackingCollection Remove Method (String)Cognex VisionPro 9.20

Remove the item with the specified nameOrID from this dictionary.

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

public override bool Remove(
	string nameOrID
)

Parameters

nameOrID
Type: System String
The name or ID of the item to remove from this dictionary.

Return Value

Type: Boolean

True if a match was found and the item removed, otherwise False.

Remarks

RemovingItem Raises before the item is removed. RemovedItem Raises after the item is removed. Changed Raises because this method changes the Count and Item properties. The following StateFlags may be affected:

  • SfCount
  • SfItem

See Also