expression.Close( _ ByVal option As CloseOption _ ) As ReturnCode
where expression is a variable that represents a View Object
Parameters
- option
- A CloseOption value. You can specify CloseOption_CloseAlwaysSave to save the session configuration before closing or CloseOption_CloseNoSave to close the session without saving. You cannot choose to prompt the user to save the session.
Return Value
One of the following ReturnCode values:
Member | Description |
---|---|
Cancelled | Cancelled. |
Error | Error. |
PermissionRequired | Permission is required. |
Success | Success. |
Timeout | Timeout condition. |
Truncated | The text is truncated. |