CogToolBlock DefineScriptTerminal Method (Object, String, Boolean)Cognex VisionPro 9.24
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: 91.0.0.0 (91.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(
	Object obj,
	string key,
	bool isInput
)

Parameters

obj
Type: System Object
An object which provides the initial contents of the terminal, and is also used to determine the type of data which is stored in the terminal.
key
Type: System String
A key value used to identify the terminal when setting or getting terminal data, also used as the name of the teriminal in the GUI.
isInput
Type: System Boolean
True to define an input terminal, False to define an output terminal.

Return Value

Type: Boolean
True if the terminal was successfully created.
See Also