ResourceMapIterator Class
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.
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
- Attributes
- Implements
-
IIterator<KeyValuePair<String,NamedResource>> IIterator<IKeyValuePair<Platform::String,NamedResource>> IIterator<IKeyValuePair<winrt::hstring,NamedResource>>
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
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro