Windows Dev Center

DataPackagePropertySetView.Lookup | lookup method

Retrieves the value of a specific property.

Syntax


var object = dataPackagePropertySetView.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 (device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

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

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (operating system)

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.ApplicationModel.DataTransfer
Windows::ApplicationModel::DataTransfer [C++]

Metadata

Windows.winmd

See also

DataPackagePropertySetView

 

 

Show:
© 2015 Microsoft