共用方式為


IStringStorage2 介面

定義

public interface IStringStorage2 : Microsoft.VisualStudio.Settings.IStringStorage, System.ComponentModel.INotifyPropertyChanged
type IStringStorage2 = interface
    interface IStringStorage
    interface INotifyPropertyChanged
Public Interface IStringStorage2
Implements INotifyPropertyChanged, IStringStorage
實作

方法

ClearAsync()

刪除所有預存的值。

(繼承來源 IStringStorage)
ClearAsync(CancellationToken)

刪除所有預存的值。

(繼承來源 IStringStorage)
DeleteIfExistsAsync(String)

刪除預存值。

(繼承來源 IStringStorage)
DeleteIfExistsAsync(String, CancellationToken)

刪除預存值。

(繼承來源 IStringStorage)
ForEachSettingNameStartingWith(String, CharSpanProcessorDelegate)

處理開頭為 prefix的每個持續性設定名稱。 當處理器委派傳回 false 時,處理會停止。

Get(String)

傳回具名專案的值和機器本機旗標,如果專案不存在,則傳回 null。

(繼承來源 IStringStorage)
NamesStartingWith(String)

傳回目前儲存的所有設定名稱,其名稱開頭為指定前置詞 (不區分大小寫) 。

(繼承來源 IStringStorage)
SetAsync(String, StringWithMachineLocalFlag)

將值和機器本機旗標儲存在指定的名稱下。

(繼承來源 IStringStorage)
SetAsync(String, StringWithMachineLocalFlag, Action) (繼承來源 IStringStorage)
SetAsync(String, StringWithMachineLocalFlag, Action, CancellationToken)

將值和機器本機旗標儲存在指定的名稱下。

(繼承來源 IStringStorage)

事件

PropertyChangedAsync

建立、變更或刪除設定值時引發。

(繼承來源 IStringStorage)

適用於