Share via


ResourceMapIterator Class

Definition

Supports iteration over a ResourceMap.

public ref class ResourceMapIterator sealed : IIterator<IKeyValuePair<Platform::String ^, NamedResource ^> ^>
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class ResourceMapIterator final : IIterator<IKeyValuePair<winrt::hstring, NamedResource const&>>
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class ResourceMapIterator : IIterator<KeyValuePair<string,NamedResource>>
Public NotInheritable Class ResourceMapIterator
Implements IIterator(Of KeyValuePair(Of String, NamedResource))
Inheritance
Object Platform::Object IInspectable ResourceMapIterator
Attributes
Implements

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Properties

Current

Gets the current item in the ResourceMap.

HasCurrent

Gets a value that indicates whether there is a current item, or whether the iterator is at the end of the ResourceMap.

Methods

GetMany(IKeyValuePair<String,NamedResource>[])

Returns all the items in the ResourceMap.

MoveNext()

Moves the iterator forward to the next item and returns HasCurrent.

Applies to