GrapeCity MultiRow Windows Forms Documentation
RemoveAt Method (ListBoxCell.ObjectCollection)


The zero-based index of the object to be removed.
Removes the object at the specified index.
Syntax
Public Sub RemoveAt( _
   ByVal index As Integer _
) 
Dim instance As ListBoxCell.ObjectCollection
Dim index As Integer
 
instance.RemoveAt(index)
public void RemoveAt( 
   int index
)

Parameters

index
The zero-based index of the object to be removed.
Exceptions
ExceptionDescription
System.InvalidOperationExceptionThe cell's ListCell.DataSource property value is not a null reference (Nothing in Visual Basic).
System.ArgumentOutOfRangeException The index is less than 0 or greater than the number of items in the collection minus one.
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

ListBoxCell.ObjectCollection Class
ListBoxCell.ObjectCollection Members

 

 


Copyright © GrapeCity, inc. All rights reserved.