ResourceQualifierMapView ResourceQualifierMapView ResourceQualifierMapView ResourceQualifierMapView ResourceQualifierMapView Class

Definition

An unchangeable view into a map of ResourceQualifier objects.

public : sealed class ResourceQualifierMapView : IIterable<IKeyValuePair<Platform::String, Platform::String>>, IMapView<Platform::String, Platform::String>
struct winrt::Windows::ApplicationModel::Resources::Core::ResourceQualifierMapView : IIterable<IKeyValuePair<Platform::String, Platform::String>>, IMapView<Platform::String, Platform::String>
public sealed class ResourceQualifierMapView : IEnumerable<KeyValuePair<String, String>>, IReadOnlyDictionary<String, String>
Public NotInheritable Class ResourceQualifierMapView Implements IEnumerable<KeyValuePair<String, String>>, IReadOnlyDictionary<String, String>
// This class does not provide a public constructor.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

Collection member lists

For JavaScript, ResourceQualifierMapView supports using an index to access items.

Properties

Item[TKey] Item[TKey] Item[TKey] Item[TKey] Item[TKey]

Gets the element that has the specified key in the read-only dictionary.

Keys Keys Keys Keys Keys

Gets an enumerable collection that contains the keys in the read-only dictionary.

Size Size Size Size Size

Gets the number of ResourceQualifier objects in the map.

Values Values Values Values Values

Gets an enumerable collection that contains the values in the read-only dictionary.

Methods

ContainsKey(TKey) ContainsKey(TKey) ContainsKey(TKey) ContainsKey(TKey) ContainsKey(TKey)

Determines whether the read-only dictionary contains an element that has the specified key.

First() First() First() First() First()

Returns an iterator to enumerate the items in the map view.

GetEnumerator() GetEnumerator() GetEnumerator() GetEnumerator() GetEnumerator()

Returns an enumerator that iterates through the collection.

HasKey(String) HasKey(String) HasKey(String) HasKey(String) HasKey(String)

Determines whether the map view contains the specified key.

Lookup(String) Lookup(String) Lookup(String) Lookup(String) Lookup(String)

Returns the qualifier name at the specified key in the map view.

Split(IMapView<String, String>, IMapView<String, String>) Split(IMapView<String, String>, IMapView<String, String>) Split(IMapView<String, String>, IMapView<String, String>) Split(IMapView<String, String>, IMapView<String, String>) Split(IMapView<String, String>, IMapView<String, String>)

Splits the map view into two views.

TryGetValue(TKey, out TValue) TryGetValue(TKey, out TValue) TryGetValue(TKey, out TValue) TryGetValue(TKey, out TValue) TryGetValue(TKey, out TValue)

Gets the value that is associated with the specified key.