IsolatedStorageSettings.Save Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Saves data written to the current IsolatedStorageSettings object.
Namespace: System.IO.IsolatedStorage
Assembly: System.Windows (in System.Windows.dll)
Syntax
Public Sub Save
public void Save()
Exceptions
Exception | Condition |
---|---|
IsolatedStorageException | The IsolatedStorageFile does not have enough available free space. |
Remarks
Data written to the IsolatedStorageSettings object is saved when the application that uses the class is closed. If you want your application to write to isolated storage immediately, you can call the Save method in application code.
Warning
Windows Phone
If the IsolatedStorageFile does not have enough available free space to save your application settings, an IsolatedStorageException will be thrown. If more space is required, use the IsolatedStorageFile..::.IncreaseQuotaTo method to request more storage space from the host.
Version Information
Windows Phone OS
Supported in: 8.1, 8.0, 7.1, 7.0
Platforms
Windows Phone