Returns the data displayed in the OIA portion (status line) of the presentation space.


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

Syntax

Visual Basic (Declaration)
Public Function getOIAContents() As String
C#
public string getOIAContents()
C++
public:
 String getOIAContents() sealed 
J#
public string getOIAContents()
JScript
public  function getOIAContents() : String

Return Value

A string containing the data displayed in the OIA portion of the presentation space.

Remarks

See OIA Data for a detailed list of OIA data returned for a session.

Example

[C#]

 Copy Code
            string oia = screen.getOIAContents();
            
            // Get connection status
            int status = oia[83];
            
[VB]
 Copy Code
            Dim oia As String
            Dim status As Integer
            
            'Get the OIA
            oia = screen.getOIAContents
            
            'Get the connection status
            status = Asc$(Mid$(oia, 84, 1))
            

See Also