InitialValueExpressionCollection.Insert(String, String) Method

Definition

Inserts an item into the collection.

public:
 virtual bool Insert(Platform::String ^ key, Platform::String ^ value) = IMap<Platform::String ^, Platform::String ^>::Insert;
bool Insert(winrt::hstring const& key, winrt::hstring const& value);
public bool Insert(string key, string value);
function insert(key, value)
Public Function Insert (key As String, value As String) As Boolean

Parameters

key
String

Platform::String

winrt::hstring

The key to identify the item to insert.

value
String

Platform::String

winrt::hstring

The item to insert.

Returns

Boolean

bool

true if animation was successfully inserted; otherwise, false.

Implements

Applies to