ISettingsList::AddToFrontAsync Method (String^, Object^, Object^)

Visual Studio 2015
 

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.

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

Task^ AddToFrontAsync(
	String^ key,
	Object^ value,
	Object^ state = null
)

Parameters

key
Type: System::String^

The key.

value
Type: System::Object^

An object which will be serialized and persisted as the new value.

state
Type: System::Object^

A caller-specified object that will be exposed on change events.

Return Value

Type: System.Threading.Tasks::Task^

Returns Task.

Return to top
Show: