InfoConnect API Guide
Attachmate.Reflection.UserInterface Namespace / IView Interface / Close Method
A CloseOption enum value that specifies how to handle the Save action when closing the view. You can specify CloseAlwaysSave to save the session configuration before closing or CloseNoSave to close the session without saving. You cannot choose to prompt the user to save the session.


In This Topic
    Close Method (IView)
    In This Topic
    Closes the view.
    Syntax
    'Declaration
     
    
    Function Close( _
       ByVal option As CloseOption _
    ) As ReturnCode
    'Usage
     
    
    Dim instance As IView
    Dim option As CloseOption
    Dim value As ReturnCode
     
    value = instance.Close(option)

    Parameters

    option
    A CloseOption enum value that specifies how to handle the Save action when closing the view. You can specify CloseAlwaysSave to save the session configuration before closing or CloseNoSave to close the session without saving. You cannot choose to prompt the user to save the session.

    Return Value

    ReturnCode value indicates success or error conditions.
    See Also