CogIOMCB SetLineAlias Method Cognex VisionPro 9.24
Set the alias or name associated with the specified line on this device. This characteristic is provided solely as a convenience to the user and has not impact upon the operation of this device.

Namespace: Cognex.VisionPro.QuickBuild.IO
Assembly: Cognex.VisionPro.QuickBuild.IO (in Cognex.VisionPro.QuickBuild.IO.dll) Version: 91.0.0.0 (91.0.0.0)
Syntax

public void SetLineAlias(
	int line,
	string name
)

Parameters

line
Type: System Int32
The line number. Must be in the range 0 to 23 inclusive.
name
Type: System String
The desired alias.
Events

Exceptions

ExceptionCondition
ObjectDisposedException If this CogIOMCB object has already been disposed.
ArgumentOutOfRangeException If the line argument is less than zero or greater than 23.
See Also