InfoConnect for Airlines
SaveAs Method (Theme)
Example 


The path to the new theme.
Saves the current theme contents to a file.
Syntax
'Declaration
 
Public Sub SaveAs( _
   ByVal pathName As String _
) 
'Usage
 
Dim instance As Theme
Dim pathName As String
 
instance.SaveAs(pathName)
public void SaveAs( 
   string pathName
)

Parameters

pathName
The path to the new theme.
Exceptions
ExceptionDescription
System.IO.IOException An I/O error occurred while trying to save the theme.
System.Security.SecurityException The caller does not have the required permission to save the theme.
Example
class Program
{
   private Theme theme;
            
   public Theme ApplicationTheme
   {
      set{theme = value;}
   }
            
   public void LoadTheme()
   {
      if(theme != null)
      {
        theme.SaveAs("C:\\..");
      }
   }
}
See Also