GrapeCity.Win.MultiRow Namespace > RowCollection Class > Add Method : Add(Int32) Method |
<FeatureAttribute(Name="RowCollection", Version="v5.0")> Public Overloads Overridable Function Add( _ ByVal count As Integer _ ) As Integer
Dim instance As RowCollection Dim count As Integer Dim value As Integer value = instance.Add(count)
Exception | Description |
---|---|
System.InvalidOperationException | This method is accessed when Template is a null reference (Nothing in Visual Basic). -or- The DataSource property of the GcMultiRow control is not a null reference (Nothing in Visual Basic). |
System.ArgumentOutOfRangeException | The count is less than 1. |
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