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)

适用于