ScreenUPG
getOIAContents Method
Example 



Returns the data displayed in the OIA portion (status line) of the presentation space.
Syntax
'Declaration
 
Public Function getOIAContents() As String
'Usage
 
Dim instance As ScreenUPG 
Dim value As String 
  
value = instance.getOIAContents()
public string getOIAContents()
public: 
String^ getOIAContents(); 

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
string oia = screen.getOIAContents();
            
// Get connection status
int status = oia[83];
Dim oia As String
Dim status As Integer
            
'Get the OIA
oia = screen.getOIAContents
            
'Get the connection status
status = Asc$(Mid$(oia, 84, 1))
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ScreenUPG Class
ScreenUPG Members
getOIAText Method