Version

MoveNext Method (UIElementEnumerator)

Increments the enumerator forward one step to the next element of an enumerable collection.
Syntax
'Declaration
 
Public Function MoveNext() As Boolean
public bool MoveNext()

Return Value

True when the UIElementEnumerator advances successfully; otherwise it returns False if the enumerator has bypassed the end of its collection.
Exceptions
ExceptionDescription
System.InvalidOperationExceptionThrown when the enumerable collection has undergone changes since the enumerator was first created.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also