ApplicationDataContainerSettings.Insert(String, Object) ApplicationDataContainerSettings.Insert(String, Object) ApplicationDataContainerSettings.Insert(String, Object) ApplicationDataContainerSettings.Insert(String, Object) ApplicationDataContainerSettings.Insert(String, Object) Method

Definition

Inserts or replaces an application setting.

public : Platform::Boolean Insert(Platform::String key, Platform::Object value)
bool Insert(winrt::hstring key, winrt::Windows::Foundation::IInspectable value) const;
public bool Insert(String key, Object value)
Public Function Insert(key As String, value As Object) As bool
var bool = applicationDataContainerSettings.insert(key, value);

Parameters

key
String String String

The key of the setting to insert or replace.

value
Object Object Object

The setting value.

Returns

bool bool bool

True if an item with the specified key is an existing item and was replaced; otherwise, false.