expression.Close( _ ByVal option As CloseOption _ ) As ReturnCode
where expression is a variable that represents a IbmTerminal Object
Parameters
- option
- One of the following CloseOption values:
Member Description CloseAlwaysSave Saves the control's configuration when closing. CloseAskSave Prompts users to save the control's configuration when closing. CloseNoSave Does not save the control's configuration when closing.
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. |