ResourceMapMapViewIterator 类

定义

支持对 ResourceMapMapView 对象进行迭代。

public ref class ResourceMapMapViewIterator sealed : IIterator<IKeyValuePair<Platform::String ^, ResourceMap ^> ^>
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class ResourceMapMapViewIterator final : IIterator<IKeyValuePair<winrt::hstring, ResourceMap const&>>
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class ResourceMapMapViewIterator : IIterator<KeyValuePair<string,ResourceMap>>
Public NotInheritable Class ResourceMapMapViewIterator
Implements IIterator(Of KeyValuePair(Of String, ResourceMap))
继承
Object Platform::Object IInspectable ResourceMapMapViewIterator
属性
实现

Windows 要求

设备系列
Windows 10 (在 10.0.10240.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v1.0 中引入)

属性

Current

获取 ResourceMapMapView 中的当前项。

HasCurrent

获取一个值,该值指示是否存在当前项,或者迭代器是否位于 ResourceMapMapView 的末尾。

方法

GetMany(IKeyValuePair<String,ResourceMap>[])

返回 ResourceMapMapView 中的所有项。

MoveNext()

将迭代器向前移动到下一项,并返回 HasCurrent

适用于