InfoConnect API Guide
Attachmate.Reflection.Emulation.Common Namespace / Theme Class / SaveAs Method
The path to the new theme.
Example


In This Topic
    SaveAs Method (Theme)
    In This Topic
    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
    An I/O error occurred while trying to save the theme.
    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