FilePickerFileTypesOrderedMap.Insert | insert method

Applies to Windows and Windows Phone

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

Syntax


var boolean = filePickerFileTypesOrderedMap.insert(key, value);

Parameters

key

Type: String [JavaScript] | Platform::String [C++]

The key associated with the item to insert.

value

Type: IVector<String>

The item to insert.

Return value

Type: Boolean [JavaScript] | Platform::Boolean [C++]

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

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Storage.Pickers
Windows::Storage::Pickers [C++]

Metadata

Windows.winmd

See also

FilePickerFileTypesOrderedMap

 

 

Show:
© 2014 Microsoft