RemoveAt Method
See Also 
SourceCode.Framework Namespace > CollectionBase<TParent,TItem> Class : RemoveAt Method



index
The position of the Item in the collection

Glossary Item Box

Removes the specified Item from the collection. This will set the container property of the item to null as well as raise the ItemRemoving event on the Container object.

Syntax

Visual Basic (Declaration) 
Public Shadows Sub RemoveAt( _
   ByVal index As Integer _
) 
Visual Basic (Usage)Copy Code
Dim instance As CollectionBase(Of TParent,TItem)
Dim index As Integer
 
instance.RemoveAt(index)
C# 
public new void RemoveAt( 
   int index
)
C++/CLI 
public:
new void RemoveAt( 
   int index
) 

Parameters

index
The position of the Item in the collection

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