ResourceMap.First Method

Definition

Returns an iterator to enumerate the items in the map.

public:
 virtual IIterator<IKeyValuePair<Platform::String ^, NamedResource ^> ^> ^ First() = IIterable<IKeyValuePair<Platform::String ^, NamedResource ^> ^>::First;
IIterator<IKeyValuePair<winrt::hstring, NamedResource const&>> First();
public IIterator<KeyValuePair<string,NamedResource>> First();
function first()
Public Function First () As IIterator(Of KeyValuePair(Of String, NamedResource))

Returns

The iterator. The current position of the iterator is index 0, or the end of the set if the map is empty.

  • The set is all NamedResources contained within this map and all of its child maps.
  • The key is a string representing the minimally qualified resource identifier, relative to this resource map.
  • The value is the NamedResource corresponding to the key.

Implements

Applies to