'Declaration
Function Close( _ ByVal option As CloseOption _ ) As ReturnCode
'Usage
Dim instance As ITerminal Dim option As CloseOption Dim value As ReturnCode value = instance.Close(option)
ReturnCode Close( CloseOption option )
Parameters
- option
- A CloseOption enum value that specifies how to handle the Save action when closing the control. 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.