Returns the current host type.


Namespace: ScreenUPG
Assembly: ScreenUPG (in ScreenUPG.dll)

Syntax

Visual Basic (Declaration)
Public Function getScreenType() As Integer
C#
public int getScreenType()
C++
public:
 int getScreenType() sealed 
J#
public int getScreenType()
JScript
public  function getScreenType() : int

Return Value

The current host type.

Remarks

Possible values (defined in class ScreenUPG.ScreenUPG): SCREEN_3270, SCREEN_5250, SCREEN_ALC, SCREEN_T27, SCREEN_UTS, SCREEN_VT.

Example

[C#]

 Copy Code
            int st = screen.getScreenType();
            
[VB]
 Copy Code
            Dim st As Integer
            
            st = screen.getScreenType
            

See Also