FilePickerFileTypesOrderedMap.Insert(String, IVector<String>) Method

Definition

Inserts or replaces an item in the mapped collection of display names and associated file types.

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

Parameters

key
String

Platform::String

winrt::hstring

The key associated with the item to insert.

value

IVector<String>

IList<String>

IVector<Platform::String>

IVector<winrt::hstring>

The item to insert.

Returns

Boolean

bool

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

Implements

Applies to

See also