.NET Framework Class Library for Silverlight
IsolatedStorageSettings..::.Save Method

Saves data written to the current IsolatedStorageSettings object.

Namespace:  System.IO.IsolatedStorage
Assembly:  System.Windows (in System.Windows.dll)
Syntax

Visual Basic (Declaration)
Public Sub Save
Visual Basic (Usage)
Dim instance As IsolatedStorageSettings

instance.Save()
C#
public void Save()
Exceptions

ExceptionCondition
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. This can occur when the user closes the Web browser, refreshes a page, or browses away from the page. If you want your application to write to isolated storage immediately, you can call the Save method in application code.

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.

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

See Also

Reference

Tags :


Page view tracker