GrapeCity MultiRow Windows Forms Documentation
RemoveAt Method (ColumnHeaderSectionCollection)


The zero-based index of the item to remove.
Removes the ColumnHeaderSectionCollection item at the specified index.
Syntax
Public Sub RemoveAt( _
   ByVal index As Integer _
) 
Dim instance As ColumnHeaderSectionCollection
Dim index As Integer
 
instance.RemoveAt(index)
public void RemoveAt( 
   int index
)

Parameters

index
The zero-based index of the item to remove.
Exceptions
ExceptionDescription
System.NotSupportedExceptionThe ColumnHeaderSectionCollection is read-only.
System.InvalidOperationExceptionThe item count in ColumnHeaderSectionCollection is less than 1.
System.ArgumentOutOfRangeExceptionThe index is less than 0 or greater than the number of ColumnHeaderSections in the collection minus 1.
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.