Parameters
- pathName
- The path to the new theme.
Exception | Description |
---|---|
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. |
class Program { private Theme theme; public Theme ApplicationTheme { set{theme = value;} } public void LoadTheme() { if(theme != null) { theme.SaveAs("C:\\.."); } } }