ResourceMap.First Method
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.
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
IIterator<IKeyValuePair<Platform::String,NamedResource>>
IIterator<IKeyValuePair<winrt::hstring,NamedResource>>
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.