ResourceQualifierMapView class

Applies to Windows and Windows Phone

An unchangeable view into a map of ResourceQualifier objects.

Syntax


var resourceQualifierMapView = resourceQualifierObservableMap.getView();

Attributes

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

Members

The ResourceQualifierMapView class has these types of members:

Methods

The ResourceQualifierMapView 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 ResourceQualifierMapView.
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 qualifier name 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 ResourceQualifierMapView. If an item with that key exists, the item is retrieved as an out parameter.

 

Properties

The ResourceQualifierMapView 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 ResourceQualifierMapView.

Size [C++, JavaScript]

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

Values [C#, VB]

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

 

Remarks

Collection member lists

For JavaScript, ResourceQualifierMapView 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