共用方式為


ResourceQualifierMapView 類別

定義

ResourceQualifier物件的對應中無法變更的檢視。

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)
繼承
Object Platform::Object IInspectable ResourceQualifierMapView
屬性
實作
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 需求

裝置系列
Windows 10 (已於 10.0.10240.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v1.0 引進)

屬性

Size

取得地圖中的 ResourceQualifier 物件數目。

方法

First()

傳回反覆運算器,以列舉地圖檢視中的專案。

HasKey(String)

判斷地圖檢視是否包含指定的索引鍵。

Lookup(String)

傳回地圖檢視中指定索引鍵的限定詞名稱。

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

將地圖檢視分割成兩個檢視。

適用於