Creates a new CogToolBlockTerminal with the supplied name and valueType.
Namespace: Cognex.VisionPro.ToolBlockAssembly: Cognex.VisionPro (in Cognex.VisionPro.dll) Version: 73.0.0.0 (73.0.0.0)
Syntax
Parameters
- name
- Type: System String
Sets the Name of the new terminal
- valueType
- Type: System Type
Sets the ValueType of the new terminal
- initialize
- Type: System Boolean
Dictates if value should be initailized with a default constructed instance of valueType
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | Thrown when name or valueType is null, or if name is not a valid .Net variable name |
Remarks
See Also