This API is obsolete, CogToolBlock does not support Script Only Terminals.
Use CogToolBlock.Inputs and CogToolBlock.Outputs collections instead.
Namespace: Cognex.VisionPro.ToolBlockAssembly: Cognex.VisionPro.ToolGroup (in Cognex.VisionPro.ToolGroup.dll) Version: 80.0.0.0 (80.0.0.0)
[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
)[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
)<ObsoleteAttribute("This API is obsolete, CogToolBlock does not support Script Only Terminals. Use CogToolBlock.Inputs and CogToolBlock.Outputs collections instead.",
true)>
Public Overrides Function DefineScriptTerminal (
desiredType As String,
thing As Object,
key As String,
isInput As Boolean
) As Boolean<ObsoleteAttribute("This API is obsolete, CogToolBlock does not support Script Only Terminals. Use CogToolBlock.Inputs and CogToolBlock.Outputs collections instead.",
true)>
Public Overrides Function DefineScriptTerminal (
desiredType As String,
thing As Object,
key As String,
isInput As Boolean
) As Booleanpublic:
[ObsoleteAttribute(L"This API is obsolete, CogToolBlock does not support Script Only Terminals. Use CogToolBlock.Inputs and CogToolBlock.Outputs collections instead.",
true)]
virtual bool DefineScriptTerminal(
String^ desiredType,
Object^ thing,
String^ key,
bool isInput
) override
public:
[ObsoleteAttribute(L"This API is obsolete, CogToolBlock does not support Script Only Terminals. Use CogToolBlock.Inputs and CogToolBlock.Outputs collections instead.",
true)]
virtual bool DefineScriptTerminal(
String^ desiredType,
Object^ thing,
String^ key,
bool isInput
) override
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:
BooleanTrue if terminal is successfully created.