GrapeCity MultiRow Windows Forms Documentation
Remove(Row) Method


The row to remove from the RowCollection.
Removes the first occurrence of a specific object from the RowCollection.
Syntax
<FeatureAttribute(Name="RowCollection", Version="v5.0")>
Public Overloads Overridable Sub Remove( _
   ByVal row As Row _
) 
Dim instance As RowCollection
Dim row As Row
 
instance.Remove(row)
[Feature(Name="RowCollection", Version="v5.0")]
public virtual void Remove( 
   Row row
)

Parameters

row
The row to remove from the RowCollection.

Return Value

true if item was successfully removed from the RowCollection; otherwise, false. This method also returns false if item is not found in the original RowCollection.
Exceptions
ExceptionDescription
System.InvalidOperationException

This method is accessed when Template is a null reference (Nothing in Visual Basic).

-or-

The associated GcMultiRow control is bound to a System.ComponentModel.IBindingList implementation with System.ComponentModel.IBindingList.AllowRemove and System.ComponentModel.IBindingList.SupportsChangeNotification property values that are not both true.

System.ArgumentNullExceptionThe row is a null reference (Nothing in Visual Basic).
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

RowCollection Class
RowCollection Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.