IStringStorage2 接口
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
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, CancellationToken) |
删除存储的值。 (继承自 IStringStorage) |
| DeleteIfExistsAsync(String) |
删除存储的值。 (继承自 IStringStorage) |
| ForEachSettingNameStartingWith(String, CharSpanProcessorDelegate) |
处理以 开头 |
| Get(String) |
返回命名项的值和计算机本地标志;如果该项不存在,则返回 null。 (继承自 IStringStorage) |
| NamesStartingWith(String) |
返回当前存储的所有设置的名称,其名称以给定前缀开头 (不区分大小写) 。 (继承自 IStringStorage) |
| SetAsync(String, StringWithMachineLocalFlag, Action, CancellationToken) |
将值和计算机本地标志存储在指定名称下。 (继承自 IStringStorage) |
| SetAsync(String, StringWithMachineLocalFlag, Action) | (继承自 IStringStorage) |
| SetAsync(String, StringWithMachineLocalFlag) |
将值和计算机本地标志存储在指定名称下。 (继承自 IStringStorage) |
事件
| PropertyChangedAsync |
创建、更改或删除设置值时引发。 (继承自 IStringStorage) |