CogJob VisionToolLink Method (String, CogDestinationQueueConstants)Cognex VisionPro 9.22
Returns the stored CogVTLink object using a link name and its type.

Namespace: Cognex.VisionPro.QuickBuild
Assembly: Cognex.VisionPro.QuickBuild.Core (in Cognex.VisionPro.QuickBuild.Core.dll) Version: 87.0.0.0 (87.0.0.0)
Syntax

public CogVTLink VisionToolLink(
	string linkName,
	CogDestinationQueueConstants destination
)

Parameters

linkName
Type: System String
The link name of the wanted CogVTLink object.
destination
Type: Cognex.VisionPro.QuickBuild CogDestinationQueueConstants
The destination of the link

Return Value

Type: CogVTLink
A reference of the requested CogVTLink object.
Exceptions

ExceptionCondition
ArgumentExceptionThrown if the specified CogVTLink object was not found.
Remarks

Examples

See Also