共用方式為


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

適用於