This documentation is archived and is not being maintained.

CollectionView.IEnumerable.GetEnumerator Method

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

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

'Declaration
Private Function GetEnumerator As IEnumerator 
	Implements IEnumerable.GetEnumerator
'Usage
Dim instance As CollectionView 
Dim returnValue As IEnumerator 

returnValue = CType(instance, IEnumerable).GetEnumerator()
You cannot use methods in XAML.

Return Value

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

Implements

IEnumerable.GetEnumerator

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0
Show: