Spread WPF Documentation
RemoveAt Method (NotifyCollectionBase<T>)


The zero-based index of the item to remove.
Removes the item at the specified index.
Syntax
'Declaration
 
Public Overridable Sub RemoveAt( _
   ByVal index As System.Integer _
) 
'Usage
 
Dim instance As NotifyCollectionBase(Of T)
Dim index As System.Integer
 
instance.RemoveAt(index)
public virtual void RemoveAt( 
   System.int index
)

Parameters

index
The zero-based index of the item to remove.
Exceptions
ExceptionDescription
System.ArgumentOutOfRangeExceptionindex is not a valid index in the collection.
System.NotSupportedExceptionThe collection is read-only.
Requirements

Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional (SP4), Windows XP (SP2), Windows 2008, Windows 2003 Server (SP1)

See Also

Reference

NotifyCollectionBase<T> Class
NotifyCollectionBase<T> Members

 

 


Copyright © GrapeCity, inc. All rights reserved.