Delen via


ResourceMapMapView.Lookup(String) Method

Definition

Returns the ResourceMap at the specified key in the map view.

public:
 virtual ResourceMap ^ Lookup(Platform::String ^ key) = IMapView<Platform::String ^, ResourceMap ^>::Lookup;
ResourceMap Lookup(winrt::hstring const& key);
public ResourceMap Lookup(string key);
function lookup(key)
Public Function Lookup (key As String) As ResourceMap

Parameters

key
String

Platform::String

winrt::hstring

The key to locate in the map view.

Returns

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

Implements

Applies to