Intersoft ClientUI Documentation
RemoveAt Method (PagedCollectionView)



The zero-based index of the item to remove.
Removes the item at the specified position from the collection.
Syntax
Public Sub RemoveAt( _
   ByVal index As Integer _
) 
Dim instance As PagedCollectionView
Dim index As Integer
 
instance.RemoveAt(index)
public void RemoveAt( 
   int index
)
public:
void RemoveAt( 
   int index
) 

Parameters

index
The zero-based index of the item to remove.
Exceptions
ExceptionDescription
System.ArgumentOutOfRangeExceptionindex is less than 0, or greater than or equal to the System.Windows.Data.PagedCollectionView.Count of items in the view.
System.InvalidOperationExceptionSystem.Windows.Data.PagedCollectionView.IsAddingNew is true.-or- System.Windows.Data.PagedCollectionView.IsEditingItem is true.-or-System.Windows.Data.PagedCollectionView.CanRemove is false.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

PagedCollectionView Class
PagedCollectionView Members

Send Feedback