PropertySet.Lookup | lookup method

Applies to Windows and Windows Phone

Retrieves the value for the specified key.

Syntax


var object = propertySet.lookup(key);

Parameters

key

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

The key.

Return value

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

The value, if an item with the specified key exists; otherwise, null.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8

Namespace

Windows.Foundation.Collections
Windows::Foundation::Collections [C++]

Metadata

Windows.winmd

See also

PropertySet

 

 

Show:
© 2014 Microsoft