Поделиться через


PagedCollectionView.GetEnumerator Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Returns an IEnumerator object that you can use to enumerate the items in the view.

Namespace:  System.Windows.Data
Assembly:  System.Windows.Data (in System.Windows.Data.dll)

Syntax

'Declaration
Public Function GetEnumerator As IEnumerator
public IEnumerator GetEnumerator()

Return Value

Type: System.Collections.IEnumerator
An IEnumerator object that you can use to enumerate the items in the view.

Remarks

Using an IEnumerator enables you to enumerate the members of the collection without changing the CurrentItem.

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.