DataPackagePropertySet.Lookup | lookup method

Applies to Windows and Windows Phone

Retrieves the value of a specific property.

Syntax


var object = dataPackagePropertySet.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, an error code.

Remarks

With the LookUp method, you specify the name of the property that you want. This name can be a property that the object supports directly, such as title, or a custom property defined by the source app.

For more info, see IMapView(String, Object).

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8

Namespace

Windows.ApplicationModel.DataTransfer
Windows::ApplicationModel::DataTransfer [C++]

Metadata

Windows.winmd

See also

DataPackagePropertySet

 

 

Show:
© 2014 Microsoft. All rights reserved.