Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
Silverlight
 ApplicationSettings Property
Collapse All/Expand All Collapse All
.NET Framework Class Library for Silverlight
IsolatedStorageSettings..::.ApplicationSettings Property

Gets an instance of IsolatedStorageSettings that contains the contents of the application's IsolatedStorageFile, scoped at the application level, or creates a new instance of IsolatedStorageSettings if one does not exist.

Namespace:  System.IO.IsolatedStorage
Assembly:  System.Windows (in System.Windows.dll)
Visual Basic (Declaration)
Public Shared ReadOnly Property ApplicationSettings As IsolatedStorageSettings
C#
public static IsolatedStorageSettings ApplicationSettings { get; }

Property Value

Type: System.IO.IsolatedStorage..::.IsolatedStorageSettings
An IsolatedStorageSettings object that contains the contents of the application's IsolatedStorageFile, scoped at the application level. If an instance does not already exist, a new instance is created.

Use the ApplicationSettings property to create a new instance of the dictionary used to store key-value pairs in isolated storage.

ApplicationSettings are specific to a user and an application. The application scope is determined by the full path of the application.

The following example initializes an ApplicationSettings dictionary.

[Visual Basic]

Private userSettings As IsolatedStorageSettings = _
    IsolatedStorageSettings.ApplicationSettings

[C#]

private IsolatedStorageSettings userSettings =
    IsolatedStorageSettings.ApplicationSettings;

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

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

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2012 Microsoft. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker