MoveNext method
Collapse the table of content
Expand the table of content

IIterator<T>.MoveNext method

Advances the iterator to the next item in the collection.

Syntax


bool MoveNext()

Parameters

This method has no parameters.

Return value

Type: System.Boolean [.NET] | Platform::Boolean [C++]

True if the iterator refers to a valid item in the collection; false if the iterator passes the end of the collection.

Requirements (Windows 10 device family)

Device family

Universal, introduced version 10.0.10240.0

API contract

Windows.Foundation.FoundationContract, introduced version 1.0

Namespace

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

Metadata

Windows.Foundation.FoundationContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

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

See also

IIterator<T>

 

 

Show:
© 2016 Microsoft