次の方法で共有


ISettingsManager Interface

Definition

Stores and retrieves settings as well as handling synchronization between applications and machines.

public interface class ISettingsManager
public interface class ISettingsManager
__interface ISettingsManager
public interface ISettingsManager
type ISettingsManager = interface
Public Interface ISettingsManager
Derived

Remarks

This interface is safe to access from any thread.

Methods

GetOrCreateList(String, Boolean)

Retrieves an existing list or creates a new one if one with the specified name doesn't exist.

GetSubset(String)

Gets a collection representing all settings whose names match the specified pattern (either an exact match or a prefix match depending on whether the pattern ends in '*', both case-insensitive).

GetValueOrDefault<T>(String, T)

Returns the value of a property, or the default if the value is not set.

NamesStartingWith(String)

Returns the names of all settings currently stored whose names begin with the given prefix (case insensitive).

SetOnlineStore(IAsyncStringStorage)

Temporary internal helper method that will be removed after VS 14 Preview.

SetSharedStore(IAsyncStringStorage)

Temporary internal helper method that will be removed after VS 14 Preview.

SetValueAsync(String, Object, Boolean)

Sets the value of a property.

TryGetValue<T>(String, T)

Attempts to reads a value from the store and returns the result of the operation.

Applies to