InfoConnect for Airlines
SaveScreenHistoryFile Method
Example 


The full pathname of the file to save the screen history contents to.
If true, overwrites an existing copy of the file. If false, the file will not be saved if it already exists.
Saves screen history contents to the specified file.
Syntax
'Declaration
 
Function SaveScreenHistoryFile( _
   ByVal filePath As String, _
   ByVal overwrite As Boolean _
) As ReturnCode
'Usage
 
Dim instance As IScreenHistory
Dim filePath As String
Dim overwrite As Boolean
Dim value As ReturnCode
 
value = instance.SaveScreenHistoryFile(filePath, overwrite)
ReturnCode SaveScreenHistoryFile( 
   string filePath,
   bool overwrite
)

Parameters

filePath
The full pathname of the file to save the screen history contents to.
overwrite
If true, overwrites an existing copy of the file. If false, the file will not be saved if it already exists.

Return Value

ReturnCode.Success if the save succeeded, ReturnCode.Error if it failed.
Remarks
If filePath exists, the file is overwritten.
Example
This sample uses SaveScreenHistory to save the screen history to the myScreens.rshx file before the session is disconnected. If the file exists, it is overwritten with the new screen history.

	
See Also