IStringStorage2 Interface

Definition

C#
public interface IStringStorage2 : Microsoft.VisualStudio.Settings.IStringStorage, System.ComponentModel.INotifyPropertyChanged
Implements

Methods

ClearAsync()

Deletes all stored values.

(Inherited from IStringStorage)
ClearAsync(CancellationToken)

Deletes all stored values.

(Inherited from IStringStorage)
DeleteIfExistsAsync(String, CancellationToken)

Deletes a stored value.

(Inherited from IStringStorage)
DeleteIfExistsAsync(String)

Deletes a stored value.

(Inherited from IStringStorage)
ForEachSettingNameStartingWith(String, CharSpanProcessorDelegate)

Processes the name of each persisted setting that begins with prefix. When the processor delegate returns false, processing stops.

Get(String)

Returns the value and machine-local flag for the named item, or null if the item doesn't exist.

(Inherited from IStringStorage)
NamesStartingWith(String)

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

(Inherited from IStringStorage)
SetAsync(String, StringWithMachineLocalFlag, Action, CancellationToken)

Stores a value and machine-local flag under a specified name.

(Inherited from IStringStorage)
SetAsync(String, StringWithMachineLocalFlag, Action) (Inherited from IStringStorage)
SetAsync(String, StringWithMachineLocalFlag)

Stores a value and machine-local flag under a specified name.

(Inherited from IStringStorage)

Events

PropertyChangedAsync

Raised when a setting value is created, changes, or is deleted.

(Inherited from IStringStorage)

Applies to

Product Versions
Visual Studio SDK 2022