ListCollectionView.GetItemAt Method (Int32)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Retrieves the item at the specified position in the view.

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

public override object GetItemAt(
	int index
)

Parameters

index
Type: System.Int32

The zero-based index at which the item is located.

Return Value

Type: System.Object

The item at the specified position in the view.

Exception Condition
ArgumentOutOfRangeException

If index is out of range.

This method evaluates the index with any SortDescriptions, GroupDescriptions, Filter, and CustomSort properties that are set on the view.

.NET Framework
Available since 3.0
Return to top
Show: