InfoConnect API Guide
Attachmate.Reflection.UserControl.OpenSystemsGraphics Namespace / OpenSystemsGraphicsTerminalControl Class / InitInstance Method / InitInstance(String) Method
The session path.


In This Topic
    InitInstance(String) Method
    In This Topic
    Initializes this terminal instance with an existing session file.
    Syntax
    'Declaration
     
    
    Public Overloads Sub InitInstance( _
       ByVal sessionFilePath As String _
    ) 
    'Usage
     
    
    Dim instance As OpenSystemsGraphicsTerminalControl
    Dim sessionFilePath As String
     
    instance.InitInstance(sessionFilePath)
    public void InitInstance( 
       string sessionFilePath
    )

    Parameters

    sessionFilePath
    The session path.
    Remarks

    The InitInstance call is required to initialize the terminal user control with sufficient information to render a terminal user interface.

    Use the TerminalInitializedEventHandler to check for any errors that may have occurred during terminal initialization.

    See Also