NetworkInterfaceList.GetEnumerator Method

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

Returns an enumerator that iterates through the NetworkInterfaceList.

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

Syntax

Public Function GetEnumerator As IEnumerator(Of NetworkInterfaceInfo)
public IEnumerator<NetworkInterfaceInfo> GetEnumerator()

Return Value

Type: System.Collections.Generic..::.IEnumerator<(Of <(NetworkInterfaceInfo>)>)
An enumerator for the NetworkInterfaceList.

Implements

IEnumerable<(Of <(T>)>)..::.GetEnumerator()()()

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