ResourceMapMapView 類別

定義

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

public ref class ResourceMapMapView sealed : IIterable<IKeyValuePair<Platform::String ^, ResourceMap ^> ^>, IMapView<Platform::String ^, ResourceMap ^>
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class ResourceMapMapView final : IIterable<IKeyValuePair<winrt::hstring, ResourceMap const&>>, IMapView<winrt::hstring, ResourceMap const&>
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class ResourceMapMapView : IEnumerable<KeyValuePair<string,ResourceMap>>, IReadOnlyDictionary<string,ResourceMap>
Public NotInheritable Class ResourceMapMapView
Implements IEnumerable(Of KeyValuePair(Of String, ResourceMap)), IReadOnlyDictionary(Of String, ResourceMap)
繼承
Object Platform::Object IInspectable ResourceMapMapView
屬性
實作

Windows 需求

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

備註

集合成員清單

針對 JavaScript,ResourceMapMapView 支援使用索引來存取專案。

屬性

Size

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

方法

First()

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

HasKey(String)

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

Lookup(String)

傳回地圖檢視中位於指定索引鍵的 ResourceMap

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

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

適用於