CogIOMCB GetLineAlias Method Cognex VisionPro
Get 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 no impact upon the operation of this device.

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

public string GetLineAlias(
	int line
)

Parameters

line
Type: System Int32
The line number. Must be in the range 0 to 23 inclusive.

Return Value

Type: String
The alias or name associated with the specified line on this device.
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