Export (0) Print
Expand All
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IIterator<T> interface

Applies to Windows and Windows Phone

Supports simple iteration over a collection.

Syntax


generic<typename T>
public interface class IIterator

Attributes

[Version(0x06020000)]

Type parameters

T

The type of objects to iterate.

Members

The IIterator interface has these types of members:

Methods

The IIterator interface has these methods. It also inherits methods from the Object class.

MethodDescription
GetMany Retrieves all items in the collection.
MoveNext Advances the iterator to the next item in the collection.

 

Properties

The IIterator interface has these properties.

PropertyAccess typeDescription

Current

Read-onlyGets the current item in the collection.

HasCurrent

Read-onlyGets a value that indicates whether the iterator refers to a current item or is at the end of the collection.

 

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8

Namespace

Windows.Foundation.Collections
Windows::Foundation::Collections [C++]

Metadata

Windows.winmd

 

 

Show:
© 2014 Microsoft