ResourceMapMapView Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- Attributes
- Implements
-
IIterable<IKeyValuePair<K,V>> IEnumerable<KeyValuePair<K,V>> IEnumerable<KeyValuePair<String,ResourceMap>> IIterable<IKeyValuePair<Platform::String,ResourceMap>> IIterable<IKeyValuePair<winrt::hstring,ResourceMap>> IReadOnlyDictionary<String,ResourceMap> IMapView<Platform::String,ResourceMap> IMapView<winrt::hstring,ResourceMap>
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. |