GrapeCity MultiRow Windows Forms Documentation
Remove Method (ColumnHeaderSectionCollection)


The object to remove from the ColumnHeaderSectionCollection.
Removes the element from the collection.
Syntax
<FeatureAttribute(Name="RowCollection", Version="v5.0")>
Public Sub Remove( _
   ByVal item As ColumnHeaderSection _
) 
Dim instance As ColumnHeaderSectionCollection
Dim item As ColumnHeaderSection
 
instance.Remove(item)
[Feature(Name="RowCollection", Version="v5.0")]
public void Remove( 
   ColumnHeaderSection item
)

Parameters

item
The object to remove from the ColumnHeaderSectionCollection.

Return Value

true if the item was successfully removed from the ColumnHeaderSectionCollection; otherwise, false. This method also returns false if the item is not found in the original ColumnHeaderSectionCollection.
Exceptions
ExceptionDescription
System.ArgumentExceptionThe ColumnHeaderSectionCollection does not contain the item.
System.NotSupportedExceptionThe ColumnHeaderSectionCollection is read-only.
System.ArgumentNullExceptionThe item 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

ColumnHeaderSectionCollection Class
ColumnHeaderSectionCollection Members

 

 


Copyright © GrapeCity, inc. All rights reserved.