ResourceDictionary.Lookup(Object) ResourceDictionary.Lookup(Object) ResourceDictionary.Lookup(Object) ResourceDictionary.Lookup(Object) Method

Definition

Returns the value from the requested key, if an entry with that key exists.

public : Platform::Object Lookup(Platform::Object key)
winrt::Windows::Foundation::IInspectable Lookup(winrt::Windows::Foundation::IInspectable key) const;
public object Lookup(Object key)
Public Function Lookup(key As Object) As object

Parameters

key
Object Object

The requested key.

Returns

object object

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

Remarks

Note

The equivalent Microsoft .NET API is the Item indexer.

See also