Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

ResourceDictionary.Lookup(Object) Method

Definition

Namespace:
Microsoft.UI.Xaml

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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

public:
 virtual Platform::Object ^ Lookup(Platform::Object ^ key) = IMap<Platform::Object ^, Platform::Object ^>::Lookup;
IInspectable Lookup(IInspectable const& key);
public object Lookup(object key);
function lookup(key)
Public Function Lookup (key As Object) As Object

Parameters

key
Object

Platform::Object

IInspectable

The requested key.

Returns

Object

Platform::Object

IInspectable

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

Implements

Remarks

Note

The equivalent Microsoft .NET API is the Item indexer.

Applies to

See also


Feedback

Was this page helpful?