GrapeCity MultiRow Windows Forms Documentation
Insert Method (ColumnHeaderSectionCollection)


The position at which to insert the ColumnHeaderSection.
The ColumnHeaderSection to insert into the ColumnHeaderSectionCollection.
Inserts the specified ColumnHeaderSection into the collection.
Syntax
<FeatureAttribute(Name="RowCollection", Version="v5.0")>
Public Sub Insert( _
   ByVal index As Integer, _
   ByVal item As ColumnHeaderSection _
) 
Dim instance As ColumnHeaderSectionCollection
Dim index As Integer
Dim item As ColumnHeaderSection
 
instance.Insert(index, item)
[Feature(Name="RowCollection", Version="v5.0")]
public void Insert( 
   int index,
   ColumnHeaderSection item
)

Parameters

index
The position at which to insert the ColumnHeaderSection.
item
The ColumnHeaderSection to insert into the ColumnHeaderSectionCollection.
Exceptions
ExceptionDescription
System.NotSupportedExceptionThe ColumnHeaderSectionCollection is read-only.
System.ArgumentNullExceptionThe item is a null reference (Nothing in Visual Basic).
System.ArgumentOutOfRangeExceptionThe index is less than 0 or greater than the number of ColumnHeaderSections in the collection.
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.