DataPackagePropertySet.Lookup(String) DataPackagePropertySet.Lookup(String) DataPackagePropertySet.Lookup(String) DataPackagePropertySet.Lookup(String) DataPackagePropertySet.Lookup(String) Method

Definition

Retrieves the value of a specific property.

public : Platform::Object Lookup(Platform::String key)
winrt::Windows::Foundation::IInspectable Lookup(winrt::hstring key) const;
public object Lookup(String key)
Public Function Lookup(key As String) As object
var object = dataPackagePropertySet.lookup(key);

Parameters

key
String String String

The key.

Returns

object object object

The value, if an item with the specified key exists. Use the HasKey method to determine whether the key exists.

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).