Creates a new CogToolBlockTerminal with the supplied name, value, and valueType.
Namespace: Cognex.VisionPro.ToolBlockAssembly: Cognex.VisionPro (in Cognex.VisionPro.dll) Version: 91.0.0.0 (91.0.0.0)
Syntax
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
| Exception | Condition |
|---|---|
| ArgumentException | Thrown when name or valueType is null, if name is not a valid .Net variable name, or if valueType is not assignable from value. |
Remarks
See Also