The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
CollectionView::GetItemAt Method (Int32)
.NET Framework (current version)
Retrieves the item at the specified zero-based index in the view.
Assembly: PresentationFramework (in PresentationFramework.dll)
Parameters
- index
-
Type:
System::Int32
The zero-based index of the item to retrieve.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | index is less than 0. |
This method evaluates the index with any SortDescriptions or Filter property values that are set on the view.
If the underlying collection is of type IEnumerable, this is an O(N) operation.
Notes to Inheritors:
When deriving from CollectionView, override this method to provide a more efficient implementation.
.NET Framework
Available since 3.0
Available since 3.0
Show: