Delen via


ResourceQualifierMapView Class

Definition

An unchangeable view into a map of ResourceQualifier objects.

public ref class ResourceQualifierMapView sealed : IIterable<IKeyValuePair<Platform::String ^, Platform::String ^> ^>, IMapView<Platform::String ^, Platform::String ^>
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class ResourceQualifierMapView final : IIterable<IKeyValuePair<winrt::hstring, winrt::hstring const&>>, IMapView<winrt::hstring, winrt::hstring const&>
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class ResourceQualifierMapView : IEnumerable<KeyValuePair<string,string>>, IReadOnlyDictionary<string,string>
Public NotInheritable Class ResourceQualifierMapView
Implements IEnumerable(Of KeyValuePair(Of String, String)), IReadOnlyDictionary(Of String, String)
Inheritance
Object Platform::Object IInspectable ResourceQualifierMapView
Attributes
Implements
IIterable<IKeyValuePair<K,V>> IEnumerable<KeyValuePair<K,V>> IEnumerable<KeyValuePair<String,String>> IIterable<IKeyValuePair<Platform::String,Platform::String>> IIterable<IKeyValuePair<winrt::hstring,winrt::hstring>> IReadOnlyDictionary<String,String> IMapView<Platform::String,Platform::String> IMapView<winrt::hstring,winrt::hstring>

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Properties

Size

Gets the number of ResourceQualifier objects in the map.

Methods

First()

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

HasKey(String)

Determines whether the map view contains the specified key.

Lookup(String)

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

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

Splits the map view into two views.

Applies to