GrapeCity.Win.MultiRow Namespace > CellCollection Class : Add Method |
Dim instance As CellCollection Dim item As Cell instance.Add(item)
Exception | Description |
---|---|
System.ArgumentNullException | The item is a null reference (Nothing in Visual Basic). |
System.ArgumentException | The item has been added into another Section. |
System.InvalidOperationException | The method is executed at run time. -or- The item is a ColumnHeaderCell but the owner Section is Row. -or- The item is a RowHeaderCell but the owner Section is ColumnHeaderSection. -or- The item is a RowHeaderCell or ColumnHeaderCell but the owner Section is ColumnFooterSection. |
System.NotSupportedException | The CellCollection is read-only. |
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