GrapeCity MultiRow Windows Forms Documentation
Remove(Cell) Method


The object to remove from the CellCollection.
Removes the first occurrence of a specified object from the CellCollection.
Syntax
<TakeCellFreezeAttribute()>
Public Overloads Sub Remove( _
   ByVal item As Cell _
) 
Dim instance As CellCollection
Dim item As Cell
 
instance.Remove(item)
[TakeCellFreeze()]
public void Remove( 
   Cell item
)

Parameters

item
The object to remove from the CellCollection.

Return Value

true if item was successfully removed from the CellCollection; otherwise, false. This method also returns false if item is not found in the original ICollection.
Exceptions
ExceptionDescription
System.InvalidOperationException The method is executed at run time.
System.ArgumentNullExceptionThe item is a null reference (Nothing in Visual Basic).
System.NotSupportedExceptionThe CellCollection is read-only.
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

CellCollection Class
CellCollection Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.