NetworkInterfaceList.MoveNext Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Advances the enumerator to the next element of the collection.

Namespace:  Microsoft.Phone.Net.NetworkInformation
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)

Syntax

Public Function MoveNext As Boolean
public bool MoveNext()

Return Value

Type: System..::.Boolean
true if the enumerator was successfully advanced to the next element; otherwise, false.

Implements

IEnumerator..::.MoveNext()()()

Remarks

The first call to MoveNext attempts to get the first candidate connection. Each subsequent call attempts to get the next available connection, until there are no more connections. The Reset method causes MoveNext to attempt to get the first candidate connection again.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Platforms

Windows Phone

See Also

Reference

NetworkInterfaceList Class

Microsoft.Phone.Net.NetworkInformation Namespace