Reflection .NET API
Attachmate.Reflection.Emulation.OpenSystems Assembly / Attachmate.Reflection.Emulation.OpenSystems Namespace / ITerminal Interface / OnLine Property


In This Topic
OnLine Property
In This Topic
Gets or sets a value indicating whether Reflection is in remote mode or local mode.
Syntax
'Declaration
 
Property OnLine As Boolean
 
'Usage
 
Dim instance As ITerminal
Dim value As Boolean
 
instance.OnLine = value
 
value = instance.OnLine

Property Value

The default value is true.
Remarks
In remote mode (that is, when the Online property is set to true), Reflection transmits each character typed at the keyboard out the datacomm port. As characters are received back from the host, they are displayed on the screen. If there is no connection, characters are not echoed.

In local mode (that is, when Online is set to false), Reflection immediately displays what is typed on the screen without attempting to send it out the datacomm port. Data received from the host is discarded.

See Also