Admin Production rocket
Current Publication

Close Method

InfoConnect Desktop InfoConnect .NET API Guide V18.0.1
Rocket® InfoConnect Desktop (formerly a product of Micro Focus or formerly a product of Open Text) documentation that was created prior to Rocket Software's acquisition of certain products from OpenText may contain outdated references to "Micro Focus” or “OpenText”, which are trademarks of OpenText. Rocket Software is not affiliated with Micro Focus or OpenText and has rebranded these products as Rocket® products.
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.
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