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

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

public CogToolBlockTerminal(
	string name,
	Object value,
	Type valueType
)

Parameters

name
Type: System String
Sets the Name of the new terminal
value
Type: System Object
Sets the Value of the new terminal
valueType
Type: System Type
Sets the ValueType of the new terminal
Exceptions

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

Only usefull if ValueType is more general than Value.GetType()
See Also