ResourceMapMapView class

Applies to Windows and Windows Phone

An unchangeable view into a map of ResourceMap objects.

Syntax


var resourceMapMapView = resourceManager.allResourceMaps();

Attributes

[MarshalingBehavior(Agile)]
[Version(0x06020000)]

Members

The ResourceMapMapView class has these types of members:

Methods

The ResourceMapMapView class has these methods. With C#, Visual Basic, and C++, it also inherits methods from the Object class.

MethodDescription
ContainsKey [C#, VB]Returns a value that indicates whether a specified key exists in the ResourceMapMapView.
First [C++, JavaScript]Returns an iterator to enumerate the items in the map view.
HasKey [C++, JavaScript]Determines whether the map view contains the specified key.
Lookup [C++, JavaScript]Returns the ResourceMap at the specified key in the map view.
Split [C++, JavaScript]Splits the map view into two views.
TryGetValue [C#, VB]Returns a value that indicates whether a specified key exists in the ResourceMapMapView. If an item with that key exists, the item is retrieved as an out parameter.

 

Properties

The ResourceMapMapView class has these properties.

PropertyAccess typeDescription

Count [C#, VB]

Read-onlyGets the number of elements contained in the collection.

Item [C#, VB]

Read-onlyGets or sets the element value at the specified key index.

Keys [C#, VB]

Read-onlyGets an enumerable set containing the keys of the ResourceMapMapView.

Size [C++, JavaScript]

Read-onlyGets the number of ResourceMap objects in the map.

Values [C#, VB]

Read-onlyGets an enumerable set containing the values of the ResourceMapMapView.

 

Remarks

Collection member lists

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

Requirements

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.ApplicationModel.Resources.Core
Windows::ApplicationModel::Resources::Core [C++]

Metadata

Windows.winmd

 

 

Show:
© 2014 Microsoft