ResourceDictionary.Lookup(Object) Method
Definition
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
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
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort beschikbaar: In de loop van 2024 zullen we GitHub-problemen geleidelijk uitfaseren als het feedbackmechanisme voor inhoud en deze vervangen door een nieuw feedbacksysteem. Zie voor meer informatie:Feedback verzenden en weergeven voor