CogToolCollection Contains Method (String)Cognex VisionPro
Determines whether the CogToolCollection contains an ICogTool with the specified key.

Namespace: Cognex.VisionPro
Assembly: Cognex.VisionPro (in Cognex.VisionPro.dll) Version: 65.1.0.0 (65.1.0.0)
Syntax

public bool Contains(
	string key
)

Parameters

key
Type: System String
The key to locate in the CogToolCollection.

Return Value

Type: Boolean
True if the CogToolCollection contains an ICogTool with the key; otherwise, false.
See Also