Share via


ResourceMapMapView Class

Definition

An unchangeable view into a map of ResourceMap objects.

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)
Inheritance
Object Platform::Object IInspectable ResourceMapMapView
Attributes
Implements

Windows requirements

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

Remarks

Collection member lists

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

Properties

Size

Gets the number of ResourceMap 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 ResourceMap at the specified key in the map view.

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

Splits the map view into two views.

Applies to