CogToolBlockTerminal Constructor (String, Object)Cognex VisionPro 9.21
Creates a new CogToolBlockTerminal with the supplied name and value.

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

public CogToolBlockTerminal(
	string name,
	Object value
)

Parameters

name
Type: System String
The Name of the terminal
value
Type: System Object
The Value
Exceptions

ExceptionCondition
ArgumentExceptionThrown when name or value is null, or if name is not a valid .Net variable name
Remarks

The ValueType of the new Terminal is set to the type returned by value.GetType()
See Also