ResourceMapMapViewIterator 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
支持对 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))
- 继承
- 属性
- 实现
-
IIterator<KeyValuePair<String,ResourceMap>> IIterator<IKeyValuePair<Platform::String,ResourceMap>> IIterator<IKeyValuePair<winrt::hstring,ResourceMap>>
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。 |