ISettingsList Methods

Visual Studio 2015
 

Namespace:   Microsoft.VisualStudio.Settings
Assembly:  Microsoft.VisualStudio.Utilities (in Microsoft.VisualStudio.Utilities.dll)

NameDescription
System_CAPS_pubmethodAddToFrontAsync(String^, Object^, Object^)

Adds a new element to the front of the list. If there is already an element with the same key in the list, that one is deleted.

System_CAPS_pubmethodClearAsync(Object^)

Removes all elements from the list.

System_CAPS_pubmethodGetValueOrDefault<T>(String^, T)

Returns the value corresponding to the given key. Returns defaultValue if the value is missing or not parseable as T.

System_CAPS_pubmethodRefreshContentFromStoreAsync()

Refreshes the content of the store, in case the underlying store has gotten out of sync with the in-memory list representation. This can happen if another instance modifies the store, read the store content again and merge it with the in-memory list.

System_CAPS_pubmethodRemoveAsync(String^, Object^)

Removes a specific element from the list, or does nothing if the element is not found.

Return to top
Show: