CogToolBlock DefineScriptTerminal Method (String, Object, String, Boolean)Cognex VisionPro 9.10
This API is obsolete, CogToolBlock does not support Script Only Terminals. Use CogToolBlock.Inputs and CogToolBlock.Outputs collections instead.

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

[ObsoleteAttribute("This API is obsolete, CogToolBlock does not support Script Only Terminals. Use CogToolBlock.Inputs and CogToolBlock.Outputs collections instead.", 
	true)]
public override bool DefineScriptTerminal(
	string desiredType,
	Object thing,
	string key,
	bool isInput
)

Parameters

desiredType
Type: System String
The data type associated with the terminal
thing
Type: System Object
An initial copy of the object
key
Type: System String
The name of the terminal, also used to access the value of the terminal
isInput
Type: System Boolean
True to create an input terminal, false for an output terminal

Return Value

Type: Boolean
True if terminal is successfully created.
See Also