CogToolBlock SetScriptTerminalData Method Cognex VisionPro 9.22
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: 87.0.0.0 (87.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 SetScriptTerminalData(
	string key,
	Object data
)

Parameters

key
Type: System String
The name of the terminal
data
Type: System Object
The data to associate with the terminal

Return Value

Type: Boolean
true if successful, false if no terminal matching "key" could be found, or if "data" is inappropriate.
See Also